适合于学校电脑里有Python的小伙伴们
f = open('ji.txt', 'w')
while True:
f.write('hello world ')
f.close()
适合于学校电脑里有Python的小伙伴们
f = open('ji.txt', 'w')
while True:
f.write('hello world ')
f.close()
若是想实验,可以改成
f = open('ji.txt', 'w')
n = int(input("请输入范围:"))
i = 0
while i<=n :
f.write('hello world ')
i+=1
f.close()
for i in range:你好
太麻煩了人,py的for我和C++經常搞錯
无所谓了,话说你的字体?
繁体字而已
我知道