def capitalize_every_word(s): print(s) # hello world! print(s.title()) capitalize_every_word('hello world!') # Hello World! 2020-05-03 ...
分类:
其他好文 时间:
2020-05-03 14:31:29
阅读次数:
57
def byte_size(s): print(s) # 😀 # Hello World print(s.encode('utf-8')) # b'\xf0\x9f\x98\x80' # b'Hello World' print(len(s.encode('utf-8'))) # 4 11 byt ...
分类:
其他好文 时间:
2020-05-03 14:24:40
阅读次数:
81
public class hello { public static void main(String[] args) { //单行注释:注释一行文字 //注释不被执行,但是,很重要!!! System.out.println("hello,world!"); //多行注释:注释一段文字 /* 注释 ...
分类:
编程语言 时间:
2020-05-02 20:48:35
阅读次数:
66
六:Vue的v-bind指令作用:绑定标签上的所有属性其简写 ":" 6.1: 例如:<p v-bind:id="test">Hello world</p> ><p :id="test">Hello world</p> 1 <!DOCTYPE html> 2 <html lang="en"> 3 < ...
分类:
其他好文 时间:
2020-05-02 19:13:01
阅读次数:
57
https://codeforces.com/contest/1348 A Phoenix and Balance 最大的那个一个顶全部,所以它绝对是配最小的那些。 B Phoenix and Beauty 把每个元素扩充到 $k$ 个一组,同时这一组元素是原来的所有种类的去重结果。 ...
分类:
其他好文 时间:
2020-05-02 15:07:10
阅读次数:
90
一步步学习MDL-CE[1] [0] [2] [3] [4] [5] [6] [7] [8] 第一章、建立一个最简单的MDL应用程序 本章将带领您从零开始一步步建立一个最简单的Hello World本机代码MDL应用程序,该程序能够在Mstn中装载运行。 1、在任一驱动器上建立文件夹\MDLSour ...
分类:
编程语言 时间:
2020-05-02 11:29:45
阅读次数:
73
Codeforces Round 638 (Div. 2) A Phoenix and Balance 最大的那个比其他所有的和都要大 所以最大那个的配上最小的$\frac{n}{2} 1$个分成一组 B Phoenix and Beauty 其实就要构造一个循环节为$k$的循环串 那么如果不同的数 ...
分类:
其他好文 时间:
2020-05-02 09:48:02
阅读次数:
81
In this tutorial, we will extend last Maven + Spring hello world example by adding JDBC support, to use Spring + JDBC to insert a record into a custom ...
分类:
数据库 时间:
2020-05-02 09:43:18
阅读次数:
61
解题思路:结构体排序 按题目要求排序,再按年龄段和最大输出数目输出 #include <stdio.h> #include <string.h> typedef char Element[9]; typedef struct { Element Name; int age,wealth; } Bil ...
分类:
其他好文 时间:
2020-05-02 00:23:34
阅读次数:
73