Write a python program using multiple if_else for the following:
A school has following rules for grading system
Above 80 = A
Above 70 = B
Above 60 = C
Ask the user to enter marks and print the corresponding grade.
Answers
Answered by
0
Take values of length and breadth of a rectangle from user and check if it is square or not.
_____________________________
print "Enter length"
length = input()
print "Enter breadth"
breadth = input()
if length == breadth:
print "Yes, it is square"
else:
print "No, it is only Rectangle"
_______________________________
Similar questions
Math,
2 months ago
Math,
2 months ago
Physics,
2 months ago
English,
5 months ago
Computer Science,
5 months ago
Social Sciences,
11 months ago
Math,
11 months ago