[ create a new paste ] login | about

Link: http://codepad.org/uBopA5Ij    [ raw code | output | fork ]

Python, pasted on Aug 1:
1
2
3
4
5
6
7
def valor1():
    while True:
        try:
            c = int(input('Primeiro Valor: '))
            return c
        except ValueError:
            print 'Inválido!'


Output:
1
2
  Line 7
SyntaxError: Non-ASCII character '\xc3' in file t.py on line 7, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details


Create a new paste based on this one


Comments: