0% found this document useful (0 votes)
30 views2 pages

Python Programming Exercises Guide

Uploaded by

Naim Mirza
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views2 pages

Python Programming Exercises Guide

Uploaded by

Naim Mirza
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd

INDEX

SN PYTHON PROGRAMS DATE SIGNATURE


Write a program to demonstrate different number data
1
types in Python.
Write a program to perform different Arithmetic
2
Operations on numbers in Python.
Write a program to create, concatenate and print a string
3
and accessing sub-string from a given string.
Write a python script to print the current date in the
4
following format “Fri Oct 11 02:26:23 IST2019”
Write a program to create, append, and remove lists in
5
python.
Write a program to demonstrate working with tuples in
6
python.
Write a program to demonstrate working with dictionaries
7
in python.

8 Write a python program to find largest of three numbers.


Write a Python program to construct the following
pattern, using a nested for loop
*
**
***
9 ****
*****
****
***
**
*Write a Python script that prints prime numbers less
10
than20.
Write a python program to define a module to find
11 Fibonacci Numbers and import the module to another
program.

Write a python program to define a module and import a


12
specific function in that module to another program.

Write a program that inputs a text file. The program


13 should print all of the unique words in the file in
alphabetical order.
Write a Python class to convert an integer to a roman
14
numeral.
15 Write a Python class to reverse a string word by word.

You might also like