<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
I made a program that, according to my teacher, is correct but is not running properly.<div>The program is really simple:</div><div><br></div><div><div>import math</div><div>x = input ("Coloque o valor do primeiro cateto:")</div><div>y = input ("Coloque o valor do segundo cateto:")</div><div>z = x**2</div><div>w = y**2</div><div>soma = z + w</div><div>h = math.sqrt (soma)</div><div>print = "O valor da hipotenusa é:", h</div></div><div><br></div><div>But after I put the value of x and y this error appears:</div><div><br></div><div><div>Traceback (most recent call last):</div><div> File "C:/lista03.py", line 4, in <module></div><div> z = x**2</div><div>TypeError: unsupported operand type(s) for ** or pow(): 'str' and 'int'</div></div><div><br></div><div>My teacher said the program ran normally in his computer, but in my it doesn't!</div><div>why?</div>                                            </body>
</html>