0
good... I have a file with the following things :
if
else
(
)
'
"
print
and the following code :
arq = open('system/commands.txt','r')
arquivo = arq.readlines()
for l in range(0,7):
print(arquivo[l])
palavra = input('Digite a palavra : ')
if palavra == arquivo[l]:
print('certo !')
and wanted to know how I do when I type the word that is written in the file it appears the print('right'), in case the above command is not working and wanted to know why !
the command goes to the input part after nothing happens
0 1 2 3 4 5 6 7, is inclusive range 0, stay smart.
– FourZeroFive