Advertisement
Guest User

Untitled

a guest
Jun 4th, 2016
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. import random,bge
  2.  
  3. range_de_escolhas = "1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVNM!@#$%&()[]={}+_"
  4. escolhas = random.sample(range_de_escolhas,10)
  5.  
  6. #Mostrará uma lista com as escolhas
  7. print (escolhas)
  8.  
  9. #Mostrará uma string com as escolhas
  10. caractere_separacao = ","
  11. print (caractere_separacao.join(escolhas))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement