Error de identacion Python3
Publicado por PabloGM98 (2 intervenciones) el 10/02/2020 11:39:41
El error es el siguiente:
try:
^
TabError: inconsistent use of tabs and spaces in indentation
try:
^
TabError: inconsistent use of tabs and spaces in indentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
while space_exist():
print_board()
print('# Make your move ! [1-9] : ', end='')
##GESTION DE EXCEPCIONES, SOLO VALIDO UN NUMERO
try:
move = int(input())
except ValueError:
print("Oops! The value is incorrect, you must enter a number from [1-9]. Try again!!")
moved, won = make_move(board, player, move)
if not moved:
print(' >> Invalid number ! Try again !')
continue
if won:
result='*** Congratulations ! You woon ! ***'
break
elif computer_move()[1]:
result='=== You lose ! =='
break;
Valora esta pregunta


0