wondering how to write the program to get me the longest length words with python and remove the \n after each string?

前端 未结 0 354
南旧
南旧 2020-12-21 09:33
f = open(\'wordlist.txt\',\'w\')
for x in range(4):
    u = input(\'please enter how many words you like to write\')
    f.write(u + \'\\n\') 
print(\'it have been w         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题