PYTHON PROGRAMS
(if-elif-else condions)
(CLASS : XI)
list of questions | |||
S.No. | List of Programms | ||
Download | Write a python program to print day of week name | ||
Download | Write a python program print total number of days in a month. example: January, March, May, July, August, October, December ----31 days April, June, September, November----30days February--28/29 days | ||
Download | Write a python program to check whether a number is positive, negative or zero | ||
Download | Write a python program to create a Calculator | ||
Download | Write a python program to find maximum between three numbers. | ||
Download | Write a python program to check whether a number is negative, positive or zero. | ||
Download | Write a python program to check whether a number is divisible by 3 and 7 or not. | ||
Download | Write a python program to check whether a number is even or odd. | ||
Download | Write a python program to check whether a year is leap year or not. | ||
Download | Write a python program to input any character and check whether it is alphabet, digit or special character. | ||
Download | Write a python program to check whether a character is uppercase or lowercase alphabet. | ||
Download | Write a python program to input week number and print week day. | ||
Download | Write a python program to input month,year and print number of days in that month. | ||
Download | Write a python program to display money amount in words. | ||
Download | Write a python program to input angles of a triangle and check whether triangle is valid or not. | ||
Download | Write a python program to input all sides of a triangle and check whether triangle is valid or not. | ||
Download | Write a python program to check whether the triangle is equilateral, isosceles or scalene triangle. | ||
Download | Write a python program to calculate profit or loss. | ||
Download | Write a python program to input marks of five subjects and Calculate percentage and grade according to following: Percentage 90-100: Grade A Percentage 75-89: Grade B Percentage 60-74 : Grade C Percentage 45-59: Grade D Percentage 33-44 : Grade E Percentage 0 -32 : Grade F | ||
Download | Write a python program to input basic salary of an employee and calculate its Gross salary according to following: Basic Salary between 5000-10000 : HRA = 15%, DA = 25% Basic Salary between 10001-25000 : HRA = 25%, DA = 45% Basic Salary above 25000 : HRA = 45%, DA = 65% | ||
Download | Write a python program to input electricity unit charges and calculate total electricity bill according to the given condition: For 0-100 units Rs. 0.50/unit For 101-150 units Rs. 0.75/unit For next 151-200 units Rs. 1.20/unit For unit above 201 Rs. 1.50/unit An additional meter charge of 5% is added to the bill |