Final Assessment Assignment (10 Marks)
[Link] (Hons.) + BA (Hons.) Semester-6
Session: 2025-2026
Shri Ram College of Commerce, University of Delhi
Instructions to Solve:
✓ Download the Assignment PDF uploaded on Classroom
✓ Create a Jupyter Notebook File, save it with your roll number only
✓ Solve the Questions in that Jupyter Notebook File, write your name, roll number and section in 1
cell, write the question number as comment in each cell.
✓ Save and Export Notebook as HTML
✓ Upload the Downloaded HTML file on Google Classrooms (process given below)
1. Write a Python Program to read a number from user and check whether the number is even or odd
2. Write a Python Program to print the sum of 1st 10 natural numbers
3. Write a Python Program to print the factorial of a number input from the user
4. Write a Python program to read a string from user and check whether it is a Palindrome
5. Write a Python program to print the index and elements of the list l=[7,8,9,”Hello”,8.9,True]
6. Write a Python program to add 5 numbers to the above list l
7. Write a Python program to print the ASCII value of a character input by user (use ord function)
8. Write a Python program to print the character from the ASCII value input by user (use chr
function)
9. Write a Python program to input a string from user and convert it to:
a) Lowercase
b) Uppercase
c) Count vowels
d) Capitalize first letter
Hint: use built in string functions
10. Write a Python program to generate random numbers
Instructions to Upload:
✓ Navigate to the specific assignment in the Classwork tab.
✓ Click View assignment to open the submission page.
✓ Under the "Your work" section, click Add or create.
✓ Select File for the .html file on your computer.
✓ Locate and select your .html file, then click Add or Upload.
✓ Once the file is attached, click Turn in to complete the submission.