Question: using python program please ! thank you In-Lab Assignment #2 Write a Python program to generate three multiplications and two additions with numbers generated randomly
In-Lab Assignment #2 Write a Python program to generate three multiplications and two additions with numbers generated randomly (numbers between 1 and 11 inclusive). If the student answers correctly, he or she will get an encouragement message "You are smart !"; otherwise the correct answer is displayed. Here is a sample run of the program; with user's input is in red: 3 x 4 = 12 "You are smart" 1 x 7 = 2 "Ohh.. Sorry, Correct. Answer is 7" 8 x 10 = 80 "You are smart" 8 + 7 = 10 "Ohh.. Sorry, Correct. Answer is 15" 10 + 5 = 15 "You are smart" I You answered correctly: 3 You answered wrong: 2 In the end show the total correct answers the student answered and total of wrong answers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
