how to write the input in the file python code example
Example: how to take user input and create a file in python
# Deleting a pre existing file :
import os
os.remove(“file.txt”)
# Deleting a pre existing file :
import os
os.remove(“file.txt”)