Project: File I/O with Name

Practice file operations by writing and reading a user’s name.

We'll cover the following

Mini project

Make a program that:

  • Asks for the user’s name.

  • Saves it to user.txt.

  • Then opens and reads it back.

Get hands-on with 1400+ tech skills courses.