Hands
on Exercises
Basic
Programs:
3. Python program to display calendar of given month of the
year
Array
Programs:
7. Write
a python program to read a number and print a matrix of n*n size in spiral
order with row sums and column sum and diagonal elements sum?
Hint: n=4
then print 4*4 matrix should be like

List
Programs:
String
Programs:
2. Print the substring “WELCOME”
from the given string “WELCOME TO PYTHON LANGUAGE”
Tuple
Programs:
Dictionary
Programs:
Sets programs
File Handling Programs:
7.
Write a
python program to create a file with roll no, name, year, sem and 6 subject
marks and write them in a file and then calculate the total, percentage of each
student and also find the rank of each student in the file?
No comments:
Post a Comment