top of page
learn_data_science.jpg

Data Scientist Program

 

Free Online Data Science Training for Complete Beginners.
 


No prior coding knowledge required!

Create Mad Libs game in Python

Step 1: In the first step, we will take the required input from the user and store it in the python variable to use in the future in our mad lib story. Copy the below code in your python compiler or Python IDE.


Step 2: Now, let’s add the user inputs into a story and make it a fun game, here; we will use python string to print our story.


Step 3: In the last step, we will print the story to get the final output of our name.





0 comments

Recent Posts

See All

Comments


bottom of page