# [Python 2], <s>280</s> <s>241</s> <s>235</s> 233 bytes <!-- language-all: lang-python --> from math import* n,k=input() a=2*pi/k s='<svg viewBox="-49 -49 98 98"><circle r="49"/><path d="' p=0;exec"s+='M%f,%f L%f,%f '%(49*cos(p),49*sin(p),49*cos(p*n),49*sin(p*n));p+=a;"*k open('c.svg','w').write(s+'" stroke="red"/></svg>') [Try it online!][TIO-jjltszqk] [Python 2]: https://docs.python.org/2/ [TIO-jjltszqk]: https://tio.run/##RY7RaoQwFETf8xUhINfE7FpEaEWvD31uP0KysRusSUiy6/brbWwLhTvcwzAM47/S1dlm3@fgVrpO6UrN6l1Igli5oLH@lkpOJmyEN/VCIsIQ7x/0bvT26h7ITm1HD3Uv@dg4KBPUp6YBWduxehz8UXlBBsTjU68fWrFYIbwXsyxm@vb7oCjbTigXS89lpmjsH/14wv67mXnvK5x6JhbivLYlqHOeBBI24OctmKTLWAGjMQW3aGRBX44ldQ6NwPe9kc3zNw "Python 2 – Try It Online" Saved 35 bytes due to removing `xmlns` attribute at the encouragement of [qwr](https://codegolf.stackexchange.com/users/17360/qwr); and 4 more since `%k` was not required. 4 more by using `exec` instead of `for i in range(k)`. Writes an SVG file named `c.svg`. Look, ma! No graphics library! :)