摘要:
count = 0 while count<3: name = input('用户名:') if name=='root': print('登录正确') break else: print('用户名不正确') count+=1 print('End') 阅读全文
posted @ 2018-03-09 11:10
steven-python
阅读(169)
评论(0)
推荐(0)
摘要:
n=1 s=0 while n < 100: temp = n%2 if temp == 0: s =s -n else: s = s+n n +=1 print(s) 阅读全文
posted @ 2018-03-09 10:05
steven-python
阅读(113)
评论(0)
推荐(0)
摘要:
n=1 while n<11: if n==8: n+=1 continue print(n) n+=1 阅读全文
posted @ 2018-03-09 09:52
steven-python
阅读(157)
评论(0)
推荐(0)

浙公网安备 33010602011771号