jeudi 11 août 2016

python having trouble iterating through multiple array's

Hey I am pretty new to python and I have been stuck, I am basically trying to make it loop and it gets stuck on just one combination.

import random

letters = ['jaysasdfr','kileasrs','mdaawe','theuser','super','mrt','charman','allchar','ne    ver','swssdord','xmasfan'] 
numbers = ['111','123','122','143','422','239','213','124','234''093','425','684','858','421','095','555','554','888']
extras = ['!','@','$','*','^','%','&','?','/','.','>','<']


x = random.choice(letters)
y = random.choice(numbers)
z =  random.choice(extras)


t = x + y + z
while 1 == 1:
print(t)

Am I going in the right direction with this or am i completely off?




Aucun commentaire:

Enregistrer un commentaire