crash course on python week 3 quiz answers – Shuffle Q/A 2 Post author:Devendra Kumar Post published: Post comments:0 Comments 40. What is the initial value of the “outer_loop” variable on the first iteration of the nested "inner_loop"? Your answer should be only one number. for outer_loop in range(2, 6+1): for inner_loop in range(outer_loop): if inner_loop % 2 == 0: print(inner_loop) Answers 2 41. What number is printed at the end of this code?num1 = 0num2 = 0for x in range(5): num1 = x for y in range(14): num2 = y + 3print(num1 + num2) Answers 20 42. The following code causes an infinite loop. Can you figure out what’s missing and how to fix it?def count_numbers(first, last): # Loop through the numbers from first to last x = first while x <= last: print(x)count_numbers(2, 6) # Should print:# 2# 3# 4 # 5# 6 Answers Missing the break keywordWrong comparison operator is usedMissing an if-else blockVariable x is not incremented Previous Please Share This Share this content Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Devendra Kumar Project Management Apprentice at Google You Might Also Like Weekly challenge 3: Mockups and high-fidelity prototypes – Shuffle Q/A 2 Week 4 – Always remember the stakeholder – Shuffle Q/A 1 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.