I made this code in PYTHON 2.7.17:
class prt(object):
def _print(self, x):
self.x = x
print x
def Write_turtle(self, shape, move=False, text_of_show, font=('Arial', 16, 'bold')):
try:
x.shape(shape)
x.write(text_of_show, move, font)
except:
from turtle import *
x = Turtle()
x.shape(shape)
x.write(text_of_show, move, font)
And it gave me this error at the end of line 5:
SyntaxError: non-default argument follows default argument
Can anyone help me? Thank you very much.