INDEX
Sr. No Name of Experiment/Practical Date Sign
1 Write a program to demonstrate different number data types in
python.
2 Write a program to perform different arithmetic operations on
numbers in python.
3 Write a program to demonstrate basic data type in python
4 Write a Program for checking whether the given number is an
even number or not. Using a for loop.
5 Write a program using a while loop that asks the user for a
number, and prints a countdown from that number to zero.
6 Write a program to create, concatenate and print a string and
accessing substring from a given string.
7 Write a python script to print the current date in following format
“Sun June 26 02:26:23 IST 2022”
8 Write a python program to create, append and remove lists in
python.
9 Write Python program to check if a substring is present in a
given string.
10 Write a program to demonstrate working with tuples in python
11 Write a program to demonstrate working with dictionaries in
python
12 Write a python program to find largest of three numbers.
13 Write a python program to convert temperature to and from
Celsius to Fahrenheit
14 Write a python program to construct the following pattern using
nested for loop
15 Write a python program to print prim numbers less than 20
16 Write a python program to find factorial of a number using
recursion
17 Write Python program to map two lists into a dictionary
18 Python program to count the frequency of words appearing in a
string using a dictionary.
19 Python program to create a dictionary with key as first character
and value as words starting With that character.
20 Python program to read the contents of a file in reverse order
Practical No 1
AIM: Write a program to demonstrate different number data types in python.
Roll No: Class: BCA-II
Code: