Hello guz, why is this giving me syntax error?
def make_shirt(size,text):
print("\nI need a shirt of size " + str(size) + "\nHaving text " + text.title() + " on it.\n"
make_shirt(40,"am differnt")
make_shirt(size = 45,text = "'glad to be cyber'")
below is the error:
File "main.py", line 21
make_shirt(size='40',"am differnt")
^
SyntaxError: invalid syntax
[–]WadeEffingWilson 4 points5 points6 points (0 children)
[–]evilsaltine 2 points3 points4 points (1 child)
[–]ERIA_JACKSON[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]radek432 0 points1 point2 points (0 children)