Created
May 16, 2021 21:09
-
-
Save Los-had/c21ed7379ad53464737dd45b713d1d89 to your computer and use it in GitHub Desktop.
primeira gist, pegando variáveis aleatórias em python
This file contains hidden or 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 | |
valorum = "#yLR75@s56el" | |
valordois = "m!zR6VvFq75R" | |
valortres = "^JHNgr%oka4X" | |
valorquatro = "TF^OMZYyqx@&" | |
possibilidades = [valorum, valordois, valortres, valorquatro] | |
valoraleatorio = choice(possibilidades) | |
print(valoraleatorio) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment