Fix random

This commit is contained in:
Stefan Ritter 2011-05-26 13:09:47 +02:00
parent aa512f840a
commit 2d5ab20277
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ subgroup = ["medieval", "death", "black", "hard", "progressive", "symphonic", "v
group = ["core", "metal", "pop", "punk", "country", "rap", "western", "ambient", "techno", "house", "trance", "dance", "beat", "dubstep", "samba", "chiptune", "jazz", "ska", "soul", "aggrotech", "rave", "oi!", "bluegrass", "hip-hop", "grunge", "rockabilly", "industrial", "blues", "humppa", "reggae", "dancehall", "dub", "Schranz"]
rand = randint(0, 1)
if rand is 1: print choice(subgroup), choice(subgroup), choice(group)
if rand is 2: print choice(subgroup), choice(group)
if rand is 0: print choice(subgroup), choice(subgroup), choice(group)
if rand is 1: print choice(subgroup), choice(group)
# vim: set sw=4 tw=0 ts=4 expandtab: