20230409
20230409-Python-字符串-day6
字符串 4月9 字符串是python中最常见的数据类型,我们可以使用单引号 ' ' 、 双引号 " " 、三引号 """ """ 来创建字符串,只要为变量分配一个值即可 #单引号 var1 = 'hello word' #双引号 var2 = "hello Python" #三引号,可以换行,如果没 ......
java学习日记20230409-日期类
日期类 第一代日期类 public class Date01 { public static void main(String[] args) { //默认输出国外的方式,通常需要转化 Date date = new Date(); System.out.println(date); Date da ......