Question: create pseudocode for this code noun input(noun:) adj = input(adjective: ) verb = input(verb: ) friends_name input(friends name ) animal = input (animal: ) madlib
noun input("noun:") adj = input("adjective: ") verb = input("verb: ") friends_name input("friends name ") animal = input ("animal: ") madlib = f"Centuries ago, there was only one more living {animal}. This was 1 {adj} because they were about to all go extinct! In order to save them, ! we need to call {friends_name} to help us to find a {noun) while we {verb}" print(madlib) print("Do you want to play agaia?... answer=input("Yes/No: ") 11 answer. Lower()=="yes": print(madlib) elif answer.lower()=="no": print("Thank you for playing!")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
