Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 assignment, you will be working with file input and output. Your task is to create a Python program that takes an input file named "studentsintxt 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 "studentsout.txt
Here are the steps you should follow:
Open the "studentsintxt file for reading.
Read the contents of the file.
Convert the names to lowercase.
Create a new file named "studentsout.txt for writing.
Write the converted names to the "studentsout.txt file.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started