Program list
P1- write a python program to demonstrate basic datatypes of python and
the concept of object identity.
P2- write a python program to print the python keywords.
P3- Write a python program to implement all the SET OPERATION.
P4- write a python program to take input from user and demonstrate type
casting.
P5- Write a python program to implement ARITHMETIC OPERATION.
P6- Write a python program to check the type of entered character from
the user.
P7- Write a python program to swap the content of two variables
a) Using third variable
b) Without using third variable
P8- Write a python program to convert temperature from degree Celsius to
Fahrenheit.
P9-electricity bill
P10- Write a python program to print the maximum number out of three
given numbers using nested if else statement.
P11- Write a python program to print the grade of a student using elif
statement.
P12- Write a python program to print whether a given year is leap or not.
P13- Write a python program to check whether a given number is
Armstrong or not.
P14- Write a python program to print pattern-
*
**
***
****
*****
P15- Write a python program to demonstrate the use of break, continue,
pass statement.
P16- WAP to input a Gmail id and check whether it is a valid Gmail id or not. Conditions for
valid mail id are-
(Objective : To implement string and its functions in python)
i. It should end with @gmail.com
ii. It should not start with a special character or symbol
iii. It should not have space in between.
iv. Its length should not be more than 64 characters.
P17- Write a python program to check whether a string is palindrome or not.
P18- Write a python program to print Fibonacci series.
P19- Write a python program to print all the prime numbers
below a number n taken as input from the user.
(Objective: To implement the concept of nested loops in python)