Answer:
import random
score = 0
for i in range(5):
num1 = random.randint(1, 100)
num2 = random.randint(1, 100)
prompt = "What is " + str(num1) + "+" + str(num2) + "?"
answer = int(input(prompt))
result = (num1, num2)
if answer == result:
print("Well done!")
score += 1
else:
print("incorrect")
print("Your score was", score)
Explanation:
Your error is on <em>line 7</em>, where you are providing multiple arguments to the input function, instead of 1.
One way to solve this is to create a variable prompt and concatenate all strings and variables within that variable to use for the input.
Answer:
noise, hazardous material, burns, electric shocks, moving parts.
Explanation:
i got it right on edge
Answer:
c)none
Explanation:
Automatic updates can be a great problem in the case of the linked object and an embedded object. Hence, "a" and "b" are not the correct options, and since there is an effect, the d. the option is also not correct, as it does affect. And hence none of these options are correct. And the correct option is c) none.
Answer:
9,-10,11,-12,13,-14,15,-16,17,-18,19,-20,21,-22,23,-24,25,-26,
27,-28,29,-30
Explanation:
It comes as positive and then as a negative number and continues in the same format.
Hope it helps....
Answer:
At this point, school isnt even about learning anymore. Its just about passing so you dont end up being a dropout or just a bum in general cause not everyone has the skills to make something out of nothing.
Explanation: