The university is planning for an industrial visit to an ABC company. The faculty has to create a name list and record it in a text file. Write a python program to create a text file with the...


The university is planning for an industrial visit to an ABC company. The faculty has to create a name list and record it in a text file. Write a python program to create a text file with the student's registration number and<br>name. Finally, read the student details from the file and print them in sorted order based on the register number. (Note: Use for loop to print the details)<br>INPUT:<br>Enter the file name<br>Enter the number of students N<br>For each N student<br>Enter the registration number name (single string)<br>OUTPUT<br>Print the details of student one by one in sorted order based on the reg no<br>

Extracted text: The university is planning for an industrial visit to an ABC company. The faculty has to create a name list and record it in a text file. Write a python program to create a text file with the student's registration number and name. Finally, read the student details from the file and print them in sorted order based on the register number. (Note: Use for loop to print the details) INPUT: Enter the file name Enter the number of students N For each N student Enter the registration number name (single string) OUTPUT Print the details of student one by one in sorted order based on the reg no

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here