lundi 16 novembre 2020

Python random idea generator almost final line.(Beginner)

So i've decided to create a generatort which takes few words from diffirent word lists together and help comming up with an idea of creating for instance a monster to draw.

lists are named:

name
animal
line1-adjectives
size
timeframe

Code:

print("Your awesome creature is called " + random.choice(name). "Its quite" + random.choice(line1),"its ancestor is" + random.choice(animal). Its quite +random.choice(size) ".You have" + random.choice(timeframe) "left!" )

I got Invalid syntax error..




Aucun commentaire:

Enregistrer un commentaire