From a7298a6205fb1a2c64466151c97c316c8a42e8fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luiz=20Ot=C3=A1vio?= Date: Wed, 2 Nov 2022 12:27:44 -0300 Subject: [PATCH] =?UTF-8?q?Exerc=C3=ADcio=20-=20sistema=20de=20perguntas?= =?UTF-8?q?=20e=20respostas=20com=20Python?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aula77.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 aula77.py diff --git a/aula77.py b/aula77.py new file mode 100644 index 0000000..3bf372c --- /dev/null +++ b/aula77.py @@ -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', + }, +]