Question #51415

Enter the student information to the keyboard like roll no.,name,percentage,class display on screen

Expert's answer

Answer on Question #51415, Programming, Python

Problem.

Enter the student information to the keyboard like roll no.,name,percentage,class display on screen

Code.

roll_no = input("Roll no.: ")
name = input("Name: ")
percentage = input("Percentage: ")
form = input("Class: ")
print(roll_no + " " + name + " " + percentage + " " + form)
input()

Output.

Roll no.: 123

Name: Andrew

Percentage: 98%

Class: B

123 Andrew 98% B

http://www.AssignmentExpert.com/

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS