ASSIGNMENT Q.11 Q.11 Write a menu-driven Python program to create a Shopping Cart program that allows the user to: Add products. Remove products. Search a product. Display all products....
ASSIGNMENT Q.10 Q.10 Write a menu-driven Python program to perform the following operations on a list like. Insert Element Append Element Extend List Remove Element Pop Element Search Element...
ASSIGNMENT Q.9 Q.9 Write a Python program to create a Student Result System that calculates a student’s total marks, percentage, grade, and result status. Percentage >= 90% : Grade...
ASSIGNMENT Q.8 Q.8 Write a Python program to calculate the monthly electricity bill of a customer based on the number of units consumed. For first 50 units Rs. 0.50/unitFor...
ASSIGNMENT Q.7 Q.7 Write a Python program to simulate a Bank ATM Machine. balance = 10000 while True: print("n===== BANK ATM MENU =====") print("1. Check Balance") print("2. Deposit") print("3....
ASSIGNMENT Q.6 Q.6 Write a Python program to check whether a password entered by the user is Strong or Weak. password = input("Enter your password: ") has_upper = False...
ASSIGNMENT Q.5 Q.5 Write a Python program to find the second largest digit present in a string entered by the user. string = input("Enter a string: ") digits =...
ASSIGNMENT Q.4 Q.4 Write a Python program to create a Simple Login System. username = "admin" password = "1234" # User input user = input("Enter Username: ") pwd =...
ASSIGNMENT Q.3 Q.3 Write a Python program to check whether a string entered by the user is a Palindrome or Not a Palindrome. string = input("Enter a string: ")...
Write a Python program to count the number of vowels and consonants in a string entered by the user.
ASSIGNMENT Q.2 Q.2 Write a Python program to count the number of vowels and consonants in a string entered by the user. string = input("Enter a string: ") vowels...