Assignment I Problem Statements
Assignment I Problem Statements
Write a Python program to collect and display student marks using list and tuple.
📋 Instructions:
📥 Example Input:
Enter name: Rahul
Enter marks: 78
Enter name: Priya
Enter marks: 91
...
📤 Example Output:
Rahul - 78
Priya - 91
...
Average Marks: 84.6
Topper: Priya
📋 Instructions:
📤 Output:
Total lines: 2
Total words: 13
First 5 words: ['Python', 'is', 'a', 'powerful', 'language.']
Last 5 words: ['different', 'programming', 'paradigms.']
📋 Instructions:
📥 Example Input:
Enter item name: Apple
Enter quantity: 2
Enter price: 30
...
📤 Output:
Apple - 2 x ₹30 = ₹60
Milk - 1 x ₹50 = ₹50
Total: ₹110
Scan resume text for keywords using file read and strings.
📋 Instructions:
🗂️ Sample File:
I am currently pursuing B.Tech and have done an internship in web
development. I have basic knowledge of Python and C++.
📤 Output:
Found keywords: ['Python', 'C++', 'Internship']
Match count: 3
Resume seems suitable
📋 Instructions:
📥 Example Input:
Enter first number: 5
Enter second number: 2
Enter operation: +
📤 Output:
Result: 7
History:
5 + 2 = 7
3 * 4 = 12
10 - 6 = 4