摘要: # if 条件:# 子代码1# 子代码2# 子代码3# if True:# print('ok')# print(' ?>')# print(' ?>')# print(' ?>')# print(' ?>')# print(' ?>')# age=int(input('您芳龄几何>>: '))# 阅读全文
posted @ 2017-07-18 15:28 Cool· 阅读(134) 评论(0) 推荐(0) 编辑
摘要: # while 条件:# 循环体的代码1# 循环体的代码2# 循环体的代码3# count=0# while count < 10:# print(count)# count+=1# while True: #死循环# print('ok')# while 1: #死循环# print('ok')# 阅读全文
posted @ 2017-07-18 15:28 Cool· 阅读(159) 评论(0) 推荐(0) 编辑
摘要: #了解部分#字符串+,*#列表:+,*# l1=[1,2,3]# l2=[4,5]## print(l1+l2)# print(l1*3)#比较运算符# num1=3# num2=1# print(num1 > num2)# print(num1 = num2)# print(num1 >> num1=1234567890123456789>>> num2=1234567890123456789>... 阅读全文
posted @ 2017-07-18 15:27 Cool· 阅读(184) 评论(0) 推荐(0) 编辑