Micro Python Tutorial Exercise 01
Back to current versionRestore this version

main.py#

This is Exercise 1 of the Micro Python Tutorial.

The file main.py is special in MicroPython, in the sense that when you power-on the device and/or press the reset button, the main.py file is executed.

main.py

# this is a comment

print('hello world.') print("hello again.")


Previous: MicroPython Tutorial: home page
Next: MicroPython Tutorial Exercise 2: functions