pyth_ifcond

PYTHON PROGRAMS

(if-elif-else condions) 

(CLASS : XI)



list of questions
S.No.List of Programms
DownloadWrite a python program to print day of week name
DownloadWrite 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
DownloadWrite a python program to check whether a number is positive, negative or zero
DownloadWrite a python program to create a Calculator
DownloadWrite a python program to find maximum between three numbers.
DownloadWrite a python program to check whether a number is negative, positive or zero.
DownloadWrite a python program to check whether a number is divisible by 3 and 7 or not.
DownloadWrite a python program to check whether a number is even or odd.
DownloadWrite a python program to check whether a year is leap year or not.
DownloadWrite a python program to input any character and check whether it is alphabet, digit or special character.
DownloadWrite a python program to check whether a character is uppercase or lowercase alphabet.
DownloadWrite a python program to input week number and print week day.
DownloadWrite a python program to input month,year and print number of days in that month.
DownloadWrite a python program to display money amount in words.
DownloadWrite a python program to input angles of a triangle and check whether triangle is valid or not.
DownloadWrite a python program to input all sides of a triangle and check whether triangle is valid or not.
DownloadWrite a python program to check whether the triangle is equilateral, isosceles or scalene triangle.
DownloadWrite a python program to calculate profit or loss.
DownloadWrite 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
DownloadWrite 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%
DownloadWrite 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

Followers

Popular Posts

Recent Posts