Advertisements
Advertisements
प्रश्न
Schools use the “Student Management Information System” (SMIS) to manage student-related data. This system provides facilities for:
- recording and maintaining the personal details of students.
- maintaining marks scored in assessments and computing results of students.
- keeping track of student attendance.
- managing many other student-related data. Let us automate this process step by step.
Identify the personal details of students from your school identity card and write a program to accept these details for all students of your school and display them in the following format.
|
Name of School Student Name: PQR Roll No: 99 |
संक्षेप में उत्तर
Advertisements
उत्तर
name_of_school = input("Enter tne Name of School:- ")
stu_name = input("Enter the Name of Student:- ")
roll = int(input("Enter the Roll number:- "))
clas = input("Enter the Class:- ")
address = input("Enter the Address:- ")
city = input("Enter the City name:- ")
pin = int(input("Enter the Pin Code:- "))
phone = int(input("Enter the Parent Phone number:- "))
print ()
print ("-"*60)
print ("| ", name_of_school)
print ("|")
print ("| Student Name:- ", stu_name, " Roll NO:- ", roll)
print ("| Address:- ", address)
print ("|")
print ("| City:- ", city, " Pin Code:- ", pin)
print ("| Prent's/ Guardian's Contact No:- ", phone)
print ("-"*60)shaalaa.com
Operators in Python
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
