guhan@guhan-HP:~/Program_for_python$ python3 tic_tac_toe.py
File “/home/guhan/Program_for_python/tic_tac_toe.py”, line 18
print(“====================”)
TabError: inconsistent use of tabs and spaces in indentation
guhan@guhan-HP:~/Program_for_python$ head -15 tic_tac_toe.py
#TIC TAC TOE
board = [’ ’ for x in range(10)]
def insertLetter(letter,pos):
board[pos] = letter
def spaceIsFree(board):
return board[pos]
def printBoard(board):
print(“====================”)
print(’ ’ + board[1] + ’ | ’ + board[2] + ’ | ’ + board[3])
print(’ | | ‘)
print(“====================”)
print(’ | | ')
guhan@guhan-HP:~/Program_for_python$
=======================================> How print(“====================”) statement could be indentation error here
guhan@guhan-HP:~/Program_for_python$ python3 --version
Python 3.10.12