Aprovecha el precio especial.

Antes:$249

Currency
$209

Paga en 4 cuotas sin intereses

Paga en 4 cuotas sin intereses
Suscríbete

Termina en:

13d

08h

47m

00s

1

Program to indicates if you travel to Berlin or New York

deftrip():
    savings = int(input("How money did you saved?: "))
    berlin = 800
    Newyork = 400if savings >= berlin:
        print("Congratulations! the germans are waiting for you with jars of beer! You saved to go to Berlin!")
    elif Newyork < savings:
        print("The Statue of Liberty greets you, because you're going to travel to New York")
    else:
        print("Ok! Prepare your sandwiches, soda and mosquito repellent, because you will visit your local park. Sorry!")


if __name__=='__main__':
    trip()```
Escribe tu comentario
+ 2