An example of an N-pointed star where N = 19. The N in the Python Turtle algorithm below can be changed by the user to another odd-number starting with 5. Likewise, the star size can be altered too according to the screen dimensions you are using.
Feel free to copy the basic Python Turtle code that is given below. Don't hesitate to ask questions about the code if you have any. Write them on the comments section below. Please comment, like, and subscribe :)
import turtle
t = turtle.Turtle() #Definitions and Initializations
screen = turtle.Screen()
t.pensize(4)
star_size = 480 #Changeable, preferably from 100 to what your screen dimensions allow
star_points = 19 #Changeable but always an ODD number
interior_angle_at_star_point = 360 / star_points / 2
t.penup() #Python_Graphic start of drawing procedure
t.left(90) #Turtle at screen center rotated to point upward
t.forward(star_size / 2) #Turtle moves up to first star point
t.left(180 - interior_angle_at_star_point / 2) #Turtle rotates to direction of 2nd star point
t.pendown()
for i in range(star_points): #Loop to draw lines star_points times
for color in ["maroon", "orange", "maroon"]: #Loop to assign colors to 3 segments of a line
t.color(color)
t.forward(star_size/3) #Length of 1 of 3 segments in a line
t.left(180 - interior_angle_at_star_point) #Turtle rotates to direction of next star point
t.hideturtle()
screen.exitonclick()