Python If-Else Practice Questions - Class 11
Q1. Check if a number is positive, negative or zero.
Q2. Check whether a number is even or odd.
Q3. Check whether the entered year is a leap year or not.
Q4. Input three numbers and print the greatest one.
Q5. Check if the entered character is a vowel or a consonant.
Q6. Check if the person is eligible to vote (age must be 18 or above).
Q7. Accept marks and print the grade (A, B, C, D, F based on range).
Q8. Simple calculator: Take two numbers and an operator (+, -, *, /).
Q9. Check if a number is divisible by 3 and 5 both.
Q10. Input a character and check if it is uppercase, lowercase, digit or special symbol.