6. antigravity love this modules

Antigravity, love and this modules are easter-egg features.
Use the REPL and command D (or the reset button) to see the output from the print function after flashing to the microbit.

6.1. antigravity

The antigravity module has no practical purpose.
Use the REPL and press the reset button (or ctrl D in the REPL) to see the printout after flashing to the microbit.
from microbit import *
import antigravity
../_images/antigravity.png

6.2. love

The love module has limited practical purpose.
love.badaboom()

Pulse the heart image 7 times.

from microbit import *
import love

love.badaboom()

6.3. this

The this module has no practical purpose.
this.authors()

Returns the authors of micropython for the microbit.

Use the REPL and the reset button to see the printout after flashing to the microbit.
from microbit import *
import this

print(this.authors())