Skip to content Skip to sidebar Skip to footer

Writing On A Separate Lines In A Text File

import random device = input('What device do you have? Phone or PC(laptop included). If other please specify ').upper() make = ('') model= ('') verison = ('') memory = ('')

Solution 1:

The newline character is \n, as opposed to the /n used in your program. Updating your code with this should fix the issue you're describing.


Post a Comment for "Writing On A Separate Lines In A Text File"