How can I code the Lego EV3 robot into moving in a spiral

  ev3, mindstorms, python, visual-studio-code

I want to be able to make the Lego Mindstorms EV3 robot draw a spiral. I have a pen holder attached and now I just need the code to make the robot move in a spiral. I am using the Educator Bot. Could anyone help me out?

Source: Python Questions