You are on page 1of 1

1) # Tip for the waiter

def bill(b):
b=str (input('Enter burger'))
if b=="a":
return 100
if b=="b":
return 200
bill(3)

2)# Tip for the waiter involving fn and if
def save(d):
    if d<100:
        return "Sorry bruh"
    elif d>=100:
        d=d+10
        return d
save(120)

You might also like