Question: Students, for your Python lab 3 assignment, you will be working with file input and output. Your task is to create a Python program that

Students, for your Python lab 3 assignment, you will be working with file input and output. Your task is to create a Python program that takes an input file named "students_in.txt," which contains a list of student names in all capital letters, and converts them to lowercase. The output should be saved in a new file named "students_out.txt."
Here are the steps you should follow:
Open the "students_in.txt" file for reading.
Read the contents of the file.
Convert the names to lowercase.
Create a new file named "students_out.txt" for writing.
Write the converted names to the "students_out.txt" file.
 Students, for your Python lab 3 assignment, you will be working

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!