```
import math
speed=30 # meters/second
angle=math.pi/4.0 # in radians
XYspeed=math.sin(angle)*speed # horizontal speed
g=9.8 #meters/second^2
print("speed is", speed *3.6,"km/h.",xyspeed,"m/s")
for tick in range(0,50):
t=tick/10 #in seconds
print("Time:", t , "distance:", distance=XYspeed * t ,"height:", height= XYspeed *t- g*t^2)
```

This program isnt running and giving me error in line 9 im quite new to python so any help would be highly appreciated. Thanks in advance.