<reponame>arm-university/ASP_International-Intro-to-Computing<filename>Grade 7/Lesson 4/1.py
# Add your Python code here. E.g.

from microbit import *

while True:
    if button_a.is_pressed():
        display.show(Image.HAPPY)
    else:
        display.show(Image.SAD)

display.clear()

7/Lesson 4/1.py
# Add your Python code here. E.g.

from microbit import *

while True:
    if button_a.is_pressed():
        display.show(Image.HAPPY)
    else:
        display.show(Image.SAD)

display.clear()
# Add your Python code here. E.g.