import time
from machine import Pin
time.sleep(0.1) # Wait for USB to become ready
BTN_PIN = 16
button = Pin(BTN_PIN, Pin.IN, Pin.PULL_UP)
#==== code below ===============
# button is a variable that represents the button
# when the button is pressed print "Hello World!"
# make this happen within a function
while True:
time.sleep(0.3)