Text Size
Text Size
Exit Full Screen
Python Mini
Show
Source Code
View Source Code in Full Screen
Open in New Tab
#the name of the variables correspond to the words they replace. diddle = raw_input("please enter any noun") cat = raw_input("please enter any noun") fiddle = raw_input("please enter any noun") cow = raw_input("please enter any noun") jumped = raw_input("please enter any verb") over = raw_input("please enter any adjective") moon = raw_input("please enter any noun") little = raw_input("please enter any adjective") dog = raw_input("please enter any noun") laughed = raw_input("please enter any verb") see = raw_input("please enter any verb") sight = raw_input("please enter any noun") dish = raw_input("please enter any noun") ran = raw_input("please enter any verb") spoon = raw_input("Please enter any noun") print "Hey %s %s," % (diddle,diddle) print "The %s and the %s," % (cat,fiddle) print "The %s %s %s the %s;" % (cow,jumped,over,moon) print "The %s %s %s" % (little,dog,laughed) print "To %s such a %s;" % (see,sight) print "and the %s %s away with the %s." % (dish,ran,spoon)
ch_mlnr_input.py
( around 22 lines python code )
Published By:
EM5700
Published on
2019-09-16T01:36:36Z
Python Mini
- an
OYOclass
application,
own your own class today
.
Run
Result
×
Error message shows here