Re: [Python-Dev] problem with python 3.1

2010-09-15 Thread Benjamin Peterson
This list is for the development of Python, not questions about its use. You should ask python-list. None the less, it's because input() changed between Python 2 and 3. Look at the docs for both. 2010/9/15 João Vitor : > I made a program that, according to my teacher, is correct but is not > runni

[Python-Dev] problem with python 3.1

2010-09-15 Thread João Vitor
I made a program that, according to my teacher, is correct but is not running properly.The program is really simple: import mathx = input ("Coloque o valor do primeiro cateto:")y = input ("Coloque o valor do segundo cateto:")z = x**2w = y**2soma = z + wh = math.sqrt (soma)print = "O valor da hi