Here is the code for the same: import turtle star = turtle . Turtle () star. color ( "pink" ) star. shape ( "turtle" ) wn = turtle . Screen () wn. bgcolor ( "black" ) for i in range ( 100 ): star. forward ( 200 + 20 * i) star. stamp () star. right ( 144 ) turtle . speed ( 9 ) turtle .done() Output of the above code:
This blog will help you know more about Computer Science and the latest technologies.