Exercício - sistema de perguntas e respostas com Python

This commit is contained in:
Luiz Otávio
2022-11-02 12:27:44 -03:00
parent 18714a2278
commit a7298a6205

20
aula77.py Normal file
View File

@@ -0,0 +1,20 @@
# Exercício - sistema de perguntas e respostas
perguntas = [
{
'Pergunta': 'Quanto é 2+2?',
'Opções': ['1', '3', '4', '5'],
'Resposta': '4',
},
{
'Pergunta': 'Quanto é 5*5?',
'Opções': ['25', '55', '10', '51'],
'Resposta': '25',
},
{
'Pergunta': 'Quanto é 10/2?',
'Opções': ['4', '5', '2', '1'],
'Resposta': '5',
},
]