I am trying to make some code that finds the coordinates of a satellite in orbit, but I am currently trying to do it for just a circle where you ignore gravity etc. and you are already given the radius. I have already tried this code but the loop wont work please help
import math
r = 5
angle = 0
while angle <= 360:
angle = math.radians(angle)
x_coord = math.sin(angle)*r
y_coord = math.cos(angle)*r
print ("Position [",x_coord,y_coord,"]")
angle +=1