From 7c7201bd6f8680931c0b1791a7ea4aaee175f058 Mon Sep 17 00:00:00 2001 From: GanKnight <69836902+GanKnight@users.noreply.github.com> Date: Tue, 15 Sep 2020 21:22:26 +0800 Subject: [PATCH] Update pictures.py --- pythoncode/pictures.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pythoncode/pictures.py b/pythoncode/pictures.py index 82e3512..8ed10a8 100644 --- a/pythoncode/pictures.py +++ b/pythoncode/pictures.py @@ -1,3 +1,5 @@ -dsplay.show(IMAGE.HAPPY) -display.show(IMAGE,SAD) -display.show(IMAGE.SILY) +from microbit import* +while True: + display.show(Image.HAPPY) + display.show(Image.SAD) + display.show(Image.SILLY)