repl.it
@me002/

final madlibs

Python

No description

fork
loading
Files
  • main.py
  • usermodule.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
print('you will type in a few parts of the story at the end the story will be printed')
name = input('name')
name2 = input('name2')
verb = input('verb')
verb2 = input('verb2')
verb3 = input('verb3')
adj = input('adj')
adj2 = input('adj')
em = input('emotion')
em2 = input('emotion2')
em3 = input('adverb')
print('Once upon a time there lived a' + name + 'in' + ' a forest. One day after a'+ adj +'meal.'+ 'It was'+ verb +'ing under a tree. After a while,' + 'there came a' + name2 + 'and it started to' + verb2 +  'on the ' + name + '. Suddenly the' + name +  'got up with' + em + 'and looked for those who' + 'disturbed its nice sleep. Then it saw a' + adj2 + name2 + 'standing trembling with'+ em2 + '. The' +  name + 'jumped on it and started to' + verb3 + 'it.' +  'The' + name2 +  'asked the' + name +  'to' +  'forgive it. The lion felt' + em3 +  'and left it. The' + name2 + 'ran away. On another day,' + 'the' + name +'was caught in a net by a hunter.'+ 'The' + name + 'came there and cut the net. Thus'+ 'it escaped. Thereafter, the' + name2 + 'and the'+ name + """became friends.They lived happily in the forest afterwards.""")print('you will type in a few parts of the story at the end the story will be printed')
name = input('name')
name2 = input('name2')
verb = input('verb')
verb2 = input('verb2')
verb3 = input('verb3')
adj = input('adj')
adj2 = input('adj')
em = input('emotion')
em2 = input('emotion2')
em3 = input('adverb')
print('Once upon a time there lived a' + name + 'in' + ' a forest. One day after a'+ adj +'meal.'+ 'It was'+ verb +'ing under a tree. After a while,' + 'there came a' + name2 + 'and it started to' + verb2 +  'on the ' + name + '. Suddenly the' + name +  'got up with' + em + 'and looked for those who' + 'disturbed its nice sleep. Then it saw a' + adj2 + name2 + 'standing trembling with'+ em2 + '. The' +  name + 'jumped on it and started to' + verb3 + 'it.' +  'The' + name2 +  'asked the' + name +  'to' +  'forgive it. The lion felt' + em3 +  'and left it. The' + name2 + 'ran away. On another day,' + 'the' + name +'was caught in a net by a hunter.'+ 'The' + name + 'came there and cut the net. Thus'+ 'it escaped. Thereafter, the' + name2 + 'and the'+ name + """became friends.They lived happily in the forest afterwards.""")
Fetching token
?