in that code the operation dont work well, and I know that if I convert a str to a int it will work but the question is: why in the first code works well and the second not ?
first code python 3:
disciplina = input('digite suas disciplina ')
nota_final = input ('digite sua nota final (entre 0 e 100)')
if disciplina =='Historia' and nota_final >= '70' :
print('Você foi aprovado !')
else:
print('Você precisa estudar mais ')
seconde code python 3 :
aluno = input('Você é um bom aluno ?')
nota = input ('Quanto você costuma tirar na prova ?')
if aluno =='sim' and nota >= '10' :
print( 'Parabéns você é demais !')
else:
print('Você precisa estudar mais')
obs: In the fisrt code works well if you type a number less than 70 and in the 2nd code does not works well when you type a number less than 10 like it must be , why ? before you say "you need to convert the 2nd code nota to int(input ( "texto"), and then i ask you why the first code does not need it (all is in string in nota_final= input("text")) ???