eg. python arithSolver.py 6+5*4/5
Check out the short program here
eg. python strSorter.py igit igdtuw india
Check out the short program here
eg. python findLarge.py 45 87 12
Check out the short program here
eg. python findPattern.py igdtuw gd
Check out the short program here
Check out the short program here
Check out the short program here
refer to the solutions of question 8 and 9. The script q8.py has been imported in q9.py.
8. Read an input file containing names, roll numbers and marks of 10 students. Each student’s details are present in single line separated by comma. After reading the contents from file, store in a list of dictionary objects variable.
Check out the short program here
Input file : test.csv
9. Read the variable created above, randomly change marks of students and store them in a file such that each student’s details is in one single line.
Check out the short program here
Check out the short program here