You are on page 1of 1

JSS Mahavidyapeetha

JSS Academy of Technical Education, Noida


B.Tech., IIIrd Sem (ECE/ME/CE)
Python Programming (KNC -302)
Assignment 2- AY 2022-23

1. Write a python program to find the factorial of a number.


2. Write a python program to print fobonacci series up to n terms.
3. Write puthon program to print following patterns.
a)

*
* *
* * *
* * * *
* * * * *
b)
*
**
***
****
*****
4. Python Program to Check Leap Year
5. Python Program to Print all Prime Numbers in an Interval
6. Python Program to Find HCF or GCD
7. Python Program to Get a Substring of a String
8. Python Program to Count the Occurrence of an Item in a List.
9. Python Program to Reverse a Number
10. Python Program to Compute the Power of a Number.
11. Python Program to Count the Number of Digits Present In a Number
12. Python Program to Count the Number of Occurrence of a Character in String
13. Python Program to Remove Duplicate Element From a List.
14. Python program to check if a string is palindrome or not.
15. Python program to find largest number in a list.

You might also like