Created
May 21, 2018 01:23
-
-
Save acwoss/6c727cb5d05541a5c2c1a94c7d31ade9 to your computer and use it in GitHub Desktop.
FriendlyVillainousCertification created by acwoss - https://repl.it/@acwoss/FriendlyVillainousCertification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from random import choice | |
numero = int(input('Digite o número da tabuada: ')) | |
fator = choice(range(1, 11)) | |
resposta = int(input(f'Quanto é {numero}x{fator}? ')) | |
print('Acertou' if resposta == numero * fator else 'Errooou!') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment