-2
Make a program that shows on the screen a multiple choice question, and that, from the user’s answer, show on the screen whether he hit or not.
Unable to develop this question, my code became like this:
print("Exercício 02: ")
print("O maior rio em extensão territorial é o rio Nilo ?")
resposta = str(input("Se for verdadeiro escrava sim"))
if resposta != sim:
print("você acertou!")
else:
print('Você errou!')
But the program cannot compile
Thanks for the help.
– Alêh