from gpiozero import Button
import time

button = Button(16)

while True:
    button.wait_for_press()
    print('You pushed me!')
    time.sleep(.25)

6c5d1985cea6628558643ac6fc3b88ab59919d7f
<mask token>

<mask token>
while True:
    button.wait_for_press()
    print('You pushed me!')
    time.sleep(0.25)

<mask token>
button = Button(16)
while True:
    button.wait_for_press()
    print('You pushed me!')
    time.sleep(0.25)

from gpiozero import Button
import time
button = Button(16)
while True:
    button.wait_for_press()
    print('You pushed me!')
    time.sleep(0.25)

from gpiozero import Button
import time

button = Button(16)

while True:
    button.wait_for_press()
    print('You pushed me!')
    time.sleep(.25)
