2023年3月7日软工日报

今天主要在学习python,学习python,今天主要学习的是if where等基础语句和用法,今天的代码量为100行,还有晚上主要在进行思想教育,写毛概作业。奥,对了,我还学了一些spring啥的,学的不多就不展示了,主要是导坐标,然后配置xml文件。

 

 

 1 #b=[1,2,3,4,5]
 2 #print(b[1])
 3 #"黑马"
 4 print(520)
 5 print('爱你')
 6 #将数据输出到文件中
 7 #fp=open('E:/text1.txt','a+')
 8 #print('hello word',file=fp)
 9 #fp.close()
10 #不进行换行输出(在一行输出)
11 print('hello','daitu')
12 print('大家好\'a\'')
13 #加R或r使转义字符不起作用
14 print(r'大家好\n')
15 #不能在最后加\ 会报错
16 #print(r'aa\n\')
17 #但是\\可以
18 print(r'aa\n\\')
19 
20 input();
21 print();

 

posted @ 2023-03-07 21:09  阿飞藏泪  阅读(11)  评论(0编辑  收藏  举报
1 2 3
4