Question: 11:36 4 . 5G O codetracingtables.kjlubick.repl.co Tracing Excercises Conditionals Practice 4 Fill in the top row with the variables used in the code snippet. Then,

 11:36 4 . 5G O codetracingtables.kjlubick.repl.co Tracing Excercises Conditionals Practice 4Fill in the top row with the variables used in the code

11:36 4 . 5G O codetracingtables.kjlubick.repl.co Tracing Excercises Conditionals Practice 4 Fill in the top row with the variables used in the code snippet. Then, fill in the cells beneath them with the values of the variables at each step in the program's execution. Use dash - to mean "variable does not exist". Assume the user types in "174" 11 11 = = = 1 word = input("Type a word ") 2 answer 3 if len(word) > 10: 4 answer word[0] 5 answer += word[2] 6 answer answer + word[7] 7 answer word [5] + answer 8 else: 9 if "fish" in word: 10 answer = "whale" 11 answer += word [-1] 12 else: 13 answer = word + word 14 answer = answer * 2 15 if answer.isnumeric(): 16 answer = int(answer) 17 print("result", answer) " Step Line word answer 11:374 15G O A codetracingtables.kjlubick.repl.co 7 answer word[5] + answer 8 else: 9 if "fish" in word: 10 answer = "whale" 11 answer += word [-1] 12 else: 13 answer = word + word 14 answer answer * 2 15 if answer.isnumeric(): 16 answer = int(answer) 17 print("result", answer) WN 4 = Step Line word answer 1 1 "174" 2 2 "174" 3 3 "174" 4 9 "174" 5 13 "174" "174174" 6 14 "174" "348" 7 15 "174" False 8 16 "174" False 9 17 "174" T Some of these variables are strings. You should type the quotes. Keep at it! You have 26/30 boxes correct.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!