Try to know whay this error appearing with indentation which is seen freshly with new python3 based installations

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

Python has intendation for various blocks of code.

Not all lines start from left border.

Fix them.

Next, to move words right side, use only space.

If you mix with tab, it will throw error as inconsistent use of tab and space.