curso_python_basico / control_de_flujo / while_otro.py

# -*- encoding:utf-8 -*-
while True:
    print 'Menu del dia'
    print '1. Sopa'
    print '2. Palta a la reyna'
    print '3. Ceviche de lenguado con langostinos'
    print '4. Leche de leopardo'
    print '5. Cazuela'
    opcion = input('Cual es su opcion:')
    if opcion == 1:
        print 'Una deliciosa sopa a la minuta en camino'
        print 'mmmmmmmmmmmmmmmmm'
        break
    elif opcion == 2:
        print 'No hay'
    elif opcion == 3:
        print 'Viene en camino con un poco de ají'
        print 'Está listo el comensal?'
        break
    elif opcion == 4:
        print 'Ya señor'
        break
    elif opcion == 5:
        print 'Que feo!'
        break
    else:
        print 'No tenemos eso, por favor escoja bien'
print 'Servido!'
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.