# [Python 2], <s>280</s> 241 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="'
    for i in range(k):p=a*i;q=p*n;s+='M%f,%f L%f,%f '%(49*cos(p),49*sin(p),49*cos(q),49*sin(q))
    open('c.svg','w').write(s+'" stroke="red"/></svg>')

[Try it online!][TIO-jjkq63up]

[Python 2]: https://docs.python.org/2/
[TIO-jjkq63up]: https://tio.run/##PU5Ra4MwGHzPr/gIyJekroIIna3xYc/bjxAb2w9nEpO0br/eKRuDO@44juP8d7o7W67rENwEU5fuQJN3ISlm81GT9Y8kJOt0qTwVI4sam/i8wZPM8ua@NH@pathZv27gbdNT6D8NBM2rmhdt4/fJq@bIBheAgCyEzt6MGOXZ607RZdZe2Us8aPzIhjwb4P1XMBNVrXoXhZf55iLZP7dn8382S8mcN1Zgf9yuYY4LyuMSKBkRD8ghpuBGo3kw1/1RsZValOta5uXpBw "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.

Writes an SVG file named `c.svg`, which can be viewed, for example, in a browser or other graphics program. Look, ma! No graphics library! :)