<div>I am in an early lesson in "A Byte of Python." Instead of writing a program to find the area of a rectangle I thought it would be useful to write a program to determine the length of the diagonal of a "golden rectangle", which would of course equal the sq root of the sum of the squares of the width and height. Here is my program:</div>
<div>>>> height = input ("Height:")<br>Height:1<br>>>> width = input ("Width:")<br>Width:1.618<br>>>> int = ((height**2) + (width**2))<br>>>> print int<br>3.617924<br>
>>> hypotenuse * hypotenuse = int<br>SyntaxError: can't assign to operator</div>
<div> </div>
<div>I looked ahead in the lesson and could find no mention of square roots. How do I find the square root of an integer?</div>