Write a Python program that asks user for name of the file and text that file should contain. Create a text file with given name and fill it with text that entered by user.
Input:

Enter a file name: sample
Enter a text of the file: This file was created at informatics lesson by using
Python programming language.
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.