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
English,
2 months ago
History,
2 months ago
Science,
2 months ago
English,
4 months ago
Computer Science,
4 months ago
Social Sciences,
10 months ago
Math,
10 months ago