Question: Change the ' w ' to ' a ' in the open ( ) function. Execute the program again with different input. Examine the studentInfo.txt
Change the to in the open function. Execute the program again with different input. Examine the studentInfo.txt file. What did as an argument in the open function do
Notice the function write How many arguments does the write function have?
How does the write function know what file to write to
What line of code closes the file? Where is the line of code positioned in the program?
Rewrite the program so that the user can enter three names during one execution of the program. You may need to change the order of some of the code.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
