Python练习题1-循环与条件
2021-05-08 13:30
标签:pytho pwd 循环 else pre int and 三次 env 5.计算1-2+3=4+5.....99的和。 6.用户登陆(三次重试机会) Python练习题1-循环与条件 标签:pytho pwd 循环 else pre int and 三次 env 原文地址:https://blog.51cto.com/magic3/2506393#!/usr/bin/env python
num = 1
while num
#!/usr/bin/env python
sum = 0
num = 1
while num
#!/usr/bin/env python
num = 1
while num
#!/usr/bin/env python
num = 1
while num
#!/usr/bin/env python
num = 1
sum1 = 0
sum2 = 0
while num
#!/usr/bin/env python
count = 0
while count