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
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'")
Comments
Leave a comment