day02

day02

···while 循环

while True:

pass

··· if...else...语句

if a==1:

pass

else:

pass

···字符串格式化

a='hello,world'

b=666

print('你好,%s,%d'%(a,b))

···运算符

/ 除

** 幂

// 取模 取余数

not and or

···编码补充

GBK

GB2312

···博客园、git、码云的使用

原文地址:https://www.cnblogs.com/usherwang/p/12805788.html