Wednesday, 21 April 2021

List of Python Programs

 List of Python Programs

1. Compute sum, subtraction, multiplication, division and exponent of given variables input by the user. (Theory and Video Lecture)
2. Compute area of following shapes: circle, rectangle, triangle, square, trapezoid and parallelogram. (Theory and Video Lecture)
3. Compute volume of following 3D shapes: cube, cylinder, cone and sphere.(Theory and Video Lecture)
4. Compute and print roots of quadratic equation ax2+bx+c=0, where the values of a, b, and c are input by the user.(Theory and Video Lecture)
5. Print numbers up to N which are not divisible by 3, 6, 9,, e.g., 1, 2, 4, 5, 7,….(Theory and Video Lecture)
6. Write a program to determine whether a triangle is isosceles or not?(Theory and Video Lecture)
7. Print multiplication table of a number input by the user.(Theory and Video Lecture)
8. Compute sum of natural numbers from one to n number.(Theory and Video Lecture)
9. Print Fibonacci series up to n numbers e.g. 0 1 1 2 3 5 8 13…..n (Theory and Video Lecture)
10. Compute factorial of a given number.(Theory and Video Lecture)
11. Count occurrence of a digit 5 in a given integer number input by the user.(Theory and Video Lecture)
12. Print Geometric and Harmonic means of a series input by the user.(Theory and Video Lecture)
13. Evaluate the following expressions:
            a. x-x2/2!+x3/3!- x4/4!+… xn/n!
            b. x-x3/3!+x5/5!- x7/7!+… xn/n!
14. Print all possible combinations of 4, 5, and 6.
15. Determine prime numbers within a specific range.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.