CONDITIONAL STATEMENTS
1) Write a Python program to input an integer number. Decrement the number if
it is Negative.
2) Write a Python program to input an integer number to determine whether the
given number is divisible by 11.
3) Write a Python program to input two integer numbers and check whether they
are equal or not.
4) Write a Python program to input age of a user to determine whether the user
is eligible to vote or not. If user is not eligible, display how many years are left
to be eligible.
5) Write a Python program to check whether the input number is odd or even.
6) Write a Python program to check whether the input number is Leap year or
not.
7) Write a Python program to check whether the input number is Positive or else.
8) Write a Python program to find the greatest number from three numbers.
9) Write a Python program that prompts the user to enter a number between 1 -
12 and then displays the corresponding day of the week.
10)Write a Python program to determine whether the character entered is a
vowel or consonant.
11)Write a Python program to calculate roots of a quadratic equation.
12)Write a Python program that determines whether an alphabet, digit or a
whitespace was entered.
13)Write a python program that prompts users to enter a character (O, A, B, C,
F). Then using if-elif-else construct display Outstanding, Very Good, Good,
Average and Fail respectively.
14)Consider a real-time scenario to find the number of days present in a month
and during a leap year the number of days will change. Implement this in a
programmatic way using if, elif and else statements.
15)A video library rents new videos for Rs 75 / day and old movies for Rs 50 a
day. Write a python program to calculate the total charge for a customer’s
video rentals. The program should prompt the user for the number of each
type of video and output the total cost.