Beginner Tutorial | Mad Libs Game | Python World

Publié le: 22 décembre 2020
sur la chaîne: Python World
56
5

Madlibs is a simple phrase game in which you predict some adjectives, nouns and other words without knowing the story and where to put them.
After filling out the story with given words,it will be a lot of fun.
Like,Share and Subscribe.

Link(Video):   • Beginner Tutorial | Mad Libs Game | Python...  
__________________________________________________________
Song : Invincible by DEAF KEV
NCS Release
___________________________________________________________
Source Code:
wel="Welcome to Madlibs"
print(wel.center(85))
print('\n')
tit='Vacation'
print(tit.center(85))
print('\n')

adj1=input('Enter an adjective:')
adj2=input('Enter an adjective:')
noun1=input('Enter a noun(place):')
noun2=input('Enter a noun(place):')
animal=input('Enter the name of an animal:')
game=input('Enter a game:')
print('\n')

print("A vacation is when you take a trip to some "+adj1+" place with your "+adj2+" family.\nUsually you go to some special places near to a/an "+noun1+" or up on a/an "+noun2+
".\nA good vacation place is one when you ride on "+animal+" or play "+game+".")


Sur cette page du site, vous pouvez voir la vidéo en ligne Beginner Tutorial | Mad Libs Game | Python World durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Python World 22 décembre 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 56 fois et il a aimé 5 téléspectateurs. Bon visionnage!