import time for i in range(5): print("LED ON") time.sleep(0.5) print("LED OFF") time.sleep(0.5)
Standard input is empty
LED ON LED OFF LED ON LED OFF LED ON LED OFF LED ON LED OFF LED ON LED OFF
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!