1. Write a Python program to check if a number is positive, negative, or zero.
• Use if, elif, and else statements.
2. Create a Python program that checks whether a person is eligible to vote.
• The person must be 18 years or older.
3. Write a program that prints whether a number is even or odd.
• Use if and else.
4. Check if a given character is a vowel or consonant.
• Consider 'a', 'e', 'i', 'o', 'u' as vowels.
5. Write a Python program to find the largest of three numbers.
• Use if, elif, and else to compare the numbers.
6. Create a program that checks if a student has passed or failed.
• Assume passing marks are 40. If the marks are below 40, print "Fail,"
otherwise print "Pass."
7. Write a Python program that checks if a number is divisible by 5 or 11.
• Use simple if and else logic to check divisibility by either.
8. Write a program that categorizes a person's age group.
• Categories:
o 0-12: "Child"
o 13-19: "Teenager"
o 20-60: "Adult"
o Above 60: "Senior Citizen"
9. Write a Python program to calculate the total price of a product after
applying a discount.
• If the price is greater than 1000, give a 10% discount. Otherwise, there is no
discount.
10. Create a program that checks if a number is positive, negative, or zero and
also whether it is even or odd (for non-zero numbers).
• Use if, elif, and else to handle both conditions.