import random noseSize = ['tiny', 'small', 'medium', 'large', 'jewishly large'] eyeColor = ['red', 'blue', 'black', 'green', 'purple'] eyeSize = ['small' , 'medium' , 'large' , 'anime large'] gender = ['male' , 'female' , 'ambiguous' ] hairLength = [ 'super long' , 'pixie' , 'shoulder length' , 'chin length'] faceShape = [ 'short and round ' , 'long and flat' , 'med and round' ] lipSize = [ ' barely there' , 'small' , 'medium and thin' , 'medium and round' , 'Daaaamn puckery large'] print( ' the gender of your next drawing will be ' + random.choice(gender)) print( ' they will have a ' + random.choice(faceShape) + ' face and a ' + random.choice(noseSize) + ' nose') print( ' they will have ' + random.choice(eyeSize) + ' size ' + random.choice(eyeColor) + ' eyes, ' + random.choice(lipSize) + ' lips, and their hair will be ' + random.choice(hairLength) + ' length' )
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question