fork download
  1. import time
  2.  
  3. for i in range(5):
  4. print("LED ON")
  5. time.sleep(0.5)
  6. print("LED OFF")
  7. time.sleep(0.5)
Success #stdin #stdout 0.02s 7244KB
stdin
Standard input is empty
stdout
LED ON
LED OFF
LED ON
LED OFF
LED ON
LED OFF
LED ON
LED OFF
LED ON
LED OFF