Question: Write a python script that asks (prompts) the user to input three student names and their ID numbers one at a time using the keyboard,
Write a python script that asks (prompts) the user to input three student names and their ID numbers one at a time using the keyboard, and stores each name and id in a dictionary in three separate entries. Then writes each entry of the dictionary in a text file called student_records.txt.
For instance an example of the "student_records.txt" text file can be
Student Records:
Name1: Alex
ID1: 101
Name2: Brian
ID2: 102
Name2: Michael
ID2: 103
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
