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:
False
Explanation:
You can have multiple conditions in your while and for loops as well as your if statements.
<span>The wireless networking radio frequency 5GHz yields faster speeds but offers shorter range .
</span>One hertz is one complete cycle per second. <span> In </span>wireless communications<span>, it refers to wave oscillation. </span>Higher frequency can mean a faster system.
Answer:
A. set_union
Explanation:
The algorithm set_union is used to find the elements in one range of elements that do not appear in another range of elements.
Answer:
now as a team member you should help all your teammates
this is how you become a group and gets close to each other
in start it is difficult but when you encourage your friends to talk and have fun with other members , the you will become an elite team member or an outstanding one , to me option D out of all options because when you mingle with others that makes the team even funnier