print("Hello, Pi Pico!")
print("This is Experiment - 4 and Objective - 5")
print("Name: Ashwini Kumar Behera; Registration No.:1941012390 ")
print('''Objective : 5 Implementation of a push button as External Reset
Button.''')
from machine import Pin
from utime import sleep
button=Pin(7,Pin.IN,Pin.PULL_DOWN)
led=Pin(0,Pin.OUT)
while True:
if button.value()==0:
led.value(0)
else:
led.value(1)