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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!