Text Size
Text Size
Exit Full Screen
Python Mini
Show
Source Code
View Source Code in Full Screen
Open in New Tab
noun1=input("Give me a noun thats plural") verb=input("Give me a verb that ends in -ing") adjective=input("Give me a descriptive word, aka an adjective") noun2=input("Give me a noun in past tense") print"Baa, baa, black",noun2,"Have you any wool?" print"Yes, sir, yes, sir, Three bags",adjective,"!" print"One for my master, And one for my dame" print"And one for the",adjective," Who",verb,"down the lane." print"And thank you said the",adjective," who lived down the lane." #Baa, baa, black sheep, Have you any wool? #Yes, sir, yes, sir, Three bags full! #One for my master, And one for my dame, #And one for the little boy Who lives down the lane. #And thank you said the little boy who lived down the lane.
MadLibs.py
( around 14 lines python code )
Published By:
Cartman
Published on
2023-01-05T17:08:20Z
Python Mini
- an
OYOclass
application,
own your own class today
.
Run
Result
×
Error message shows here