You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
''' I wrote this function so that the rows and columns of "boxes" on the board
would be equal to the inputs, instead of counting the lines like the example.
I didn't want to just copy the example and swap their numbers for my variables.
Hope that's ok. Thanks'''
def func1(row,column):
if row > 9 or column > 90 or row < 3 or column < 3:
print("Please enter a row number more than 3 but less than 10 and a column number more than 3 but less than 91. Any smaller than that and you can't win and any bigger than that and it won't fit inside the screen!")
else:
# multiplying rows and columns by 2 to account for lines.
# number of rows and columns will be actual boxes to places x's and o's