In this simple exercise, I have learned to convert a program from MakeCode into Python
from dcs import * #on Start light_Sensor=0 while True: light_Sensor=getLight print(light_Sensor) if light_Sensor>200: setAllPixelsTo(BLUE) else: setAllPixelsTo(GREEN)