Task - Create a text file “intro.txt” in python and ask the user to write a single line of text by user input. -DS301222

2 Likes

You need to close the file as well or you need to use " with " @dk89990