print statement in python

print("Write in here whatsoever you want to print")

Here is what the above code is Doing:
1. It’s creating a new file called “test.txt”
2. It’s opening the file in write mode
3. It’s writing the string “Write in here whatsoever you want to print” in the file
4. It’s closing the file