Question: Hello, please solve question two based on the knock knock Joke, thank you! Question 2. Unroll the code above. [32] : 11 Let's unroll a
Hello, please solve question two based on the knock knock Joke, thank you!
![you! Question 2. Unroll the code above. [32] : 11 Let's "unroll"](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f83ca7f35e0_48766f83ca7797ae.jpg)
Question 2. Unroll the code above. [32] : 11 Let's "unroll" a Knock Knock joke. \begin{tabular}{l|l} 1 & for joke_iteration in np.arange(4): \\ 2 & print("Knock, knock.") \\ 3 & print("Who's there?") \\ 4 & print("Banana.") \\ 5 & print("Banana who?") \\ 6 & print("Knock, knock.") \\ 7 & print("Who's there?") \\ 8 & print("Orange.") \\ 9 & print("Orange who?") \\ 10 & print("Orange you glad I didn't say banana?") \end{tabular} Knock, knock. Who's there? Banana. Banana who? Knock, knock. Who's there? Banana. Banana who? Knock, knock. Who's there? Banana. Banana who? Knock, knock. Who's there? Banana. Banana who? Knock, knock. Who's there? Orange. Orange who? Orange you glad I didn't say banana
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
