Skip to content

Commit 76e327c

Browse files
committed
Remove wildcard to satisfy linter
Also fix whitespace
1 parent bfd2420 commit 76e327c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

embedded-python/simon_says.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from microbit import * # noqa
1+
from microbit import display, Image, accelerometer, sleep
22
from random import randrange
33

44
# Define left, stay still and right
@@ -23,12 +23,12 @@
2323
elif acc_x > 200:
2424
user_in = "R"
2525

26-
# Check win condition
27-
if user_in == direction:
28-
# User input correctly
29-
points += 1
30-
else:
31-
display.scroll(points)
32-
display.show(Image.SAD)
33-
points = 0
34-
sleep(1000)
26+
# Check win condition
27+
if user_in == direction:
28+
# User input correctly
29+
points += 1
30+
else:
31+
display.scroll(points)
32+
display.show(Image.SAD)
33+
points = 0
34+
sleep(1000)

0 commit comments

Comments
 (0)