Python
Python
Write a python program to demonstrate basic data type and the concept of object
identity.
2. Write a python program to calculate area of triangle by heron’s formulae.
3. Write a python program to find the grade of the students based on marks scored in 5
subjects.
4. Write a python program to check whether a number is palindrome or not.
5. Write a python program to print all the prime numbers below a
number taken as input from the user ( Using while loop)
6. Write a python program to find the sum of the given series up to n numbers taken as
input from the user.
1+1/!2+1/!3+……..1/!n
1+22+33+………nn
7. Write a python program to create a list of n numbers taken input from the user.
Calculate the mean, median and mode for the created list.
8. Write a python program to take a string as input and count the vowels, digits and
consonants. Store and display the result in dictionary format.
9. Write a program to create two sets taking input from the user and
perform the following operations on them using operators and set
methods
10. Write a program that extracts and prints the characters from an input string that are
present at prime indices (0-based index) using slicing.
11. Write a program to create two sets taking input from the user and
perform the following operations on them using operators and set methods
Union
Intersection
Symmetric difference