#!/usr/bin/env python3

fo=open("name.txt","w")
fo.write("My name is <NAME>.\n")	# \n to send cursor to next line. \n plays the role of pressing Enter key.
fo.write("My father's name is <NAME>.\n")
fo.write("My mother's name is <NAME>.\n")
fo.close()

#!/usr/bin/env python3

fo=open("name.txt","w")
fo.write("My name is <NAME>.\n")	# \n to send cursor to next line. \n plays the role of pressing Enter key.
fo.write("My father's name is <NAME>.\n")
fo.write("My mother's name is <NAME>.\n")
fo.close()

#!/usr/bin/env python3 # \n to send cursor to next line. \n plays the role of pressing Enter key.