python - Function breaks all code that come after it -
i've started working on small game. i've created function breaks code follows it. here's full function:
def printboard(currentboard): #prints out game board x in range(5): #prints out 50 character line x print (' '.join(str(currentboard[x*50:(x+1)*50]))
although still works this:
def printboard(currentboard): print (' '.join(str(currentboard[x*50:(x+1)*50]))
even things like:
print("hello")
won't work after it. i've tried switching around variable names , such error error still remains.
looks missing closing ")"
Comments
Post a Comment