So I'm supposed to write a Python program that creates 3 circles of spheres: one on the xy plane, one in the yz plane, and one in the xz plane. Each ring should be centered on the origin, and I'm trying to use three while loops to do this, but nothing is working in VPython and I don't know why.
Web VPython 3.2 from visual import *
x = math.radians(360)
n = m = l = 0
while n <= x: sphere(pos = vector(math.sin(n), math.cos(m), 1), radius = 0.1, color = color.red) n = n + (math.radians(30)) m = m + (math.radians(30))
n = m = l = 0
while n <= x: sphere(post = vector(math.sin(n), m, math.cos(1)), radius = 0.1, color = color.blue) n = n + (math.radians(30)) l = l + (math.radians(30))
n = m = l = 0
while m <= x: sphere(pos = vector(n, math.sin(m), math.cos(1)), radius = 0.1, color = color.green) m = m + (math.radians(30)) l = l + (math.radians(30))