for i in range(1,11):
print(i)
i=1
while i<=10:
print(i)
i+=1
for i in range(1,100,2):
print(i)
for i in range(1,100):
if i%2==1:
print(i)
for i in range(11):
print(i)
list1=['孙悟空','贝吉塔','弗利沙','魔人布欧','全王']
for i in range(len(list1)):
print(list1[i])
for one in list1:
print(one)
for i in range(1,11):
if i==5:
break
continue
pass
print(i)
else:
print('循环运行完毕')
import time
for i in range(10,0,-1):
print(f'\r倒计时{i}秒',end='')
time.sleep(1)
else:
print('\r倒计时结束')
def fun1():
'''
tntybrtevfdcnthbrg
untbrgvf
munthrgvfnthgf
:return:
'''
print(fun1.__doc__)