Class 11th IP (065) Write a Python program to print the highest and lowest values in the dictionary. SOLUTION.. data = {} n = int(input("Enter number of entries: "))...
Class 11th IP (065) Create a dictionary of students to store names and marks obtained in 5 subjects. SOLUTION.. students = {} n = int(input("Enter number of students: "))...
Class 11th IP (065) Write a Python Program to print the words starting with an alphabet in a user entered string. SOLUTION.. s = input("Enter sentence: ") ch =...
Class 11th IP (065) Write a Python program to find the third largest/smallest number in a list. SOLUTION.. lst = n = int(input("Enter how many numbers you want...
Class 11th IP (065) Write a Python Program to calculate tax – GST / Income Tax. SOLUTION.. amount = float(input("Enter amount: ")) gst = float(input("GST %: ")) gst_amount =...
Class 11th IP (065) Write a Python Program to calculate EMI for Amount, Period and Interest. SOLUTION.. p = float(input("Loan Amount: ")) r = float(input("Annual Interest Rate: ")) n...
Class 11th IP (065) Write a Python Program to calculate profit-loss for given Cost and Sell Price. SOLUTION.. cp = float(input("Cost Price: ")) sp = float(input("Selling Price: ")) if...
Class 11th IP (065) Write a Python program to calculate Simple and Compound interest. SOLUTION.. p = float(input("Principal: ")) r = float(input("Rate: ")) t = float(input("Time: ")) si =...
Class 11th IP (065) To calculate perimeter/circumference and area of shapes such as triangle, rectangle, square and circle. SOLUTION.. import math # Rectangle l = float(input("Length: ")) b =...
Class 11th IP (065) Write a Python to find sale price of an item with given cost and discount (%). SOLUTION. cost = float(input("Enter cost price: ")) discount =...