Syntax highlighting

Por Luiz Thiago, 8 de maio de 2009 7:41 PM

#! /usr/bin/env python
# coding: UTF-8

while True:
    option = int(raw_input(""" Escolha uma opção:
    01 - Primeira
    02 - Segunda

    00 - Sair"""
    ))
    if (option == 1):
        print "primeira"
    elif (option == 2):
        print "segunda"
    elif (option == 0):
        quit("Adious Muchacho")
    else:
        print "outra"

Um comentário para “Syntax highlighting”

  1. CAMERON disse:

    Medicamentspot.com International Legal RX Medications. Special Internet Prices (up to 40% off average US price). NO PRIOR PRESCRIPTION REQUIRED!…

    Combivir@buy.online” rel=”nofollow”>.…

Deixe uma resposta

Panorama Theme by Themocracy