Question: micro:bit python code. what does these codes means in a random maths game.? if (action_ % 2 == 0): # show correct answer remind =
micro:bit python code.
what does these codes means in a random maths game.?
if (action_ % 2 == 0): # show correct answer remind = 1
else: # show incorrect answer remind = 2 answer = answer + (random.randint(1, 4))
display.scroll("%d / %d =" % (number_1,number_2), delay=100,) sleep(500) display.show("%.0f" % (answer))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
