Python code to read the names of N students from the user and store the details in a text file called student.txt. Then read the name of the student and search the particular name in the file. The output should be "present" or "not present" depends on the search results.
Answers
Answered by
0
Answer:
Write a Python program to print the following string in a specific format (see the output). Go to the editor
Sample String : "Twinkle, twinkle, little star, How I wonder what you are! Up above the world so high, Like a diamond in the sky. Twinkle, twinkle, little star, How I wonder what you are" Output :
Twinkle, twinkle, little star,
How I wonder what you are!
Up above the world so high,
Like a diamond in the sky.
Twinkle, twinkle, little star,
How I wonder what you are
Similar questions