0% found this document useful (0 votes)
7 views2 pages

Programs

The document outlines a series of Python programming tasks aimed at developing fundamental programming skills. It includes tasks such as reversing a number, calculating areas of geometric figures, computing gross salary, and implementing basic arithmetic operations. Additional tasks involve exception handling, generating Fibonacci sequences, and checking for prime numbers, among others.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

Programs

The document outlines a series of Python programming tasks aimed at developing fundamental programming skills. It includes tasks such as reversing a number, calculating areas of geometric figures, computing gross salary, and implementing basic arithmetic operations. Additional tasks involve exception handling, generating Fibonacci sequences, and checking for prime numbers, among others.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1 Python Program to Reverse a Given Number.

2 Calculating Areas of Geometric Figures - Write a python program to calculate areas of any
geometric figures like circle, rectangle and triangle.( Note : Create menu which will call
function for respective function to calculate areas of respective figures.)

3 Calculating Gross Salary of an Employee: Write a Python program to calculate the gross
salary of an employee. The program should prompt the user for the basic salary (BS) and
then compute the dearness allowance (DA) as 70% of BS, the travel allowance (TA) as 30%
of BS, and the house rent allowance (HRA) as 10% of BS. Finally, it should calculate the
gross salary as the sum of BS, DA, TA, and HRA and display the result.
4 Exploring Basic Arithmetic Operations in Python: Write a Python program to explore basic
arithmetic operations. The program should prompt the user to enter two numbers and then
perform addition, subtraction, multiplication, division, and modulus operations on those
numbers. The results of each operation should be displayed to the user.

5 Python Program to demonstrate Inheritance.

6 Python Program to demonstrate Exception handling

7 Python Program to Find the Sum of Natural Numbers


8 Number Type Identifier: Develop a Python program that takes a numerical input and
identifies whether it is even or odd, utilizing conditional statements and loops.
9 Factorial Generator: Design a Python program to compute the factorial of a given integer N.

10 Develop any converter such as Rupees to dollar, temperature convertor, inch to feet etc.

11 Write a Python program to calculate the simple interest based on user input. The program
should prompt the user to enter the principal amount, the rate of interest, and the time period
in years. It should then compute the simple interest using the formula Simple
Interest=(Principal×Rate×Time) /100 and display the result.
12
Python Program to Swap Two Variables

13 Write a Python program to print a triangle pattern.

14 Create a Python program to check whether the given input is a digit, lowercase character,
uppercase character, or a special character using an 'if else-if' ladder.
15 Write a Python program to take a numerical input from the user and generate its
multiplication table using loops.

16 Develop a Python program to print the Fibonacci sequence using a while loop.

17 Write a Python program to analyze the input number is prime or not.

18 Implement a simple Python calculator that takes user input and performs basic arithmetic
operations (addition, subtraction, multiplication, division) using functions.

19 Python Program to Check Leap Year

20 Python Program to Solve Quadratic Equations

21 Python Program to Find the Largest Among Three Numbers

22 Python Program to Check Armstrong Number

23 Write a program to check whether the entered number is a palindrome using a function.

24 Python Program to Find LCM using function

25 Python Program to Find Factors of Number using function

You might also like