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.pyprint('hello world.') print("hello again.")