Get five names from the user and store them in a file named “names.txt”
1/22/2022 9:15:32 PM
Please link your code.
You can get the names using a loop and you'll need to know basic file operations (lessons 46-49 of Python core course)
for i in range(5):
with open('names.txt','w') as f:
Send us a message