Question: Directions: Use the code below to answer Problems 1-2. From the Python file: lionKing.py: 1 simbama-tata 2 def timon(x): a = hakuna def pumbaa(x): b
Directions: Use the code below to answer Problems 1-2. From the Python file: lionKing.py: 1 simba"ma-tata 2 def timon(x): a = "hakuna" def pumbaa(x): b "matata" return b+""+x return pumbaa (a)+""+ x 9 timon, simba = simba, timon(simba) 1. Draw out the environment diagram for the code from lionKing.py. Use at least 2 different colors to make your diagram clear. Strings are handled exactly the same as other primitive types, such as integer 2. Globel
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
