location = 11
location = str(location)
# print("checkEmpty:", location)
row = int(location[0])
column = int(location[1])
# print(row, column)

row1 = ['X', ' ', 'X']
row2 = ['O', ' ', ' ']
row3 = ['X', 'O', 'X']

# if (row1[0]=='X' and  rXw1[1]=='X' and row1[2]=='X'):   #horizontals
#         return 'X'
#     elif (row2[0]=='X' and  row2[1]=='X' and row2[2]=='X'):
#         return 'X'
#     elif (row3[0]=='X' and  row3[1]=='X' and row3[2]=='X'):
#         return 'X'
#     elif (row1[0]=='X' and  row2[0]=='X' and row3[0]=='X'): #verticals 
#         return 'X'
#     elif (row1[1]=='X' and  row2[1]=='X' and row3[1]=='X'): 
#         return 'X'
#     elif (row1[2]=='X' and  row2[2]=='X' and row3[2]=='X'): 
#         return 'X'
#     elif (row1[0]=='X' and  row2[1]=='X' and row3[2]=='X'): #diagonals 
#         return 'X'
#     elif (row1[2]=='X' and  row2[1]=='X' and row3[0]=='X'): 
#         return 'X'
    
    
# global row1
# global row2
# global row3

# arr = [1, 4, 3, 2]

# for x in range(len(arr)+1):
#     if x == 0:
#         continue
#     print(arr[-x])
    # print(str(arr[-x]) + " ", end="")
    

# dict1 = {'sam': '99912222', 'tom': '11122222', 'harry': '12299933'}

# print(dict1["sam"])
# print(dict1["dam"])

# n = 439
# binary = (bin(n)[2:])
# print(binary)

# max = 0
# count = 0
# for one in binary:
#     if int(one) == 1:
#         count += 1
#     else:
#         if count > max:
#             max = count
#         count = 0
#     if count>max:
#         max = count;    
# print(max)




