if for循环讲解

2018-08-20  本文已影响0人  中二死军宅

str = "laowang"#内容
for i in str:#打印的(for i in(1-20)#打印1到20
print(i)
print(str)#停止循环

上一篇 下一篇

猜你喜欢

热点阅读