Programming Assignment 2
Programming Assignment 2
*
* *
* * *
* * * *
* * * * *
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.