The programming teacher, Mr. Smith, has a list of his students. He keeps this list in /tmp/students.txt file. Jerry has just joined Mr. Smith's class. Write a program that will add Jerry to the list of other students.
The programming teacher, Mr. Smith, has a list of his students. He keeps this list in /tmp/students.txt file. Jerry has just joined Mr. Smith's class. Write a program that will add Jerry to the list of other students.
Sample Input 1:
Dina
Bob
KatySample Output 1:
Dina
Bob
Katy
JerryCreate a free account to access the full topic