Computers and Technology, 12.11.2020 17:10 musa79
Cans someone pls help me to do edhesive 2.5 code practice
this si the question=Currently, this program will add 6 and 3 together, output the math problem and output the answer. Edit this code so that a random number is generated from 1 - 10 (inclusive) for the variables a and b. Also, instead of adding the two numbers together, the edited program should multiply them, and output the proper math problem and answer. Be sure to update every line of code to reflect the changes needed.
this is what I have but it gives an error
import random
random. seed(1,10)
a = random. randint (1,10)
b = random. randint (1,10)
print ("What is: " + str(a) + " X " + str(b) + "?")
ans = int(input("Your "))
if (a * b == ans):
print ("Correct!")
else:
print ("Incorrect!")
Answers: 1
Computers and Technology, 23.06.2019 04:40
The narrative structure of the popular movies can be broken down into
Answers: 3
Computers and Technology, 23.06.2019 06:30
How do you write an argumentative essay about the importance of free enterprise ?
Answers: 1
Computers and Technology, 23.06.2019 12:00
If you're using an existing powerpoint presentation that will receive new slides based on a word outline, select the a. slide that will appear after the new slides. b. first slide in the presentation. c. slide that will appear before the new slides. d. last slide in the presentation.
Answers: 2
Computers and Technology, 23.06.2019 17:00
1. which of the following is not an example of an objective question? a. multiple choice. b. essay. c. true/false. d. matching 2. why is it important to recognize the key word in the essay question? a. it will provide the answer to the essay. b. it will show you a friend's answer. c. it will provide you time to look for the answer. d. it will guide you on which kind of answer is required.
Answers: 1
Cans someone pls help me to do edhesive 2.5 code practice
this si the question=Currently, this prog...
Mathematics, 17.09.2021 15:30
Mathematics, 17.09.2021 15:30
History, 17.09.2021 15:30
Social Studies, 17.09.2021 15:30
Computers and Technology, 17.09.2021 15:30
Social Studies, 17.09.2021 15:30
Mathematics, 17.09.2021 15:30
Physics, 17.09.2021 15:30