摘要:
1. 判断下列逻辑语句的True,False.(1) 1 > 1 or 3 < 4 or 4 > 5 and 2 > 1 and 9 > 8 or 7 < 6 True(2) not 2 > 1 and 3 < 4 or 4 > 5 and 2 > 1 and 9 > 8 or 7 < 6 Fals 阅读全文
摘要:
1.使用while循环输入 1 2 3 4 5 6 8 9 10 1 # 有空格 2 i = 0 3 while i < 10: 4 i += 1 5 if i == 7: 6 print(' ') 7 else: 8 print(i) 9 10 # 没空格 11 i = 0 12 while i 阅读全文