Dec-28-2017, 02:17 AM
(This post was last modified: Dec-28-2017, 02:19 AM by ShadowWarrior17.)
def columncheck(c): x=5 pos=False while pos != True: if dboard[x][(4*c)-1]== " ": pos=True elif dboard[x][(4*c)-1] != " ": x-=1 return xWhen this function returns x, x is always 5.
Why?
It has been annoying me for days.