Answer to Question #256263 in Python for GANESH

Question #256263

in a school, the students are divided into two categories based on their rank. students whose rank is less than 10 are considered as honor student and all others are considered as normal student. based on the rank, find to which category a student belongs


1
Expert's answer
2021-10-25T05:31:20-0400
rank=int(input("Enter rank of the student: "))


if rank<10:
    print("Category of the student is 'honor student'")
else:
    print("Category of the student is 'normal student'")

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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS