For python please Determine what each of these code fragment
For python please.
Determine what each of these code fragments does by mentally tracing the code. Write what the print function would display as output. X = 3 while (x 10 count = 0 a = 5 b = 0 while (a or b): a - = 1 animals = [\"bear\", \"cat\", \"dog\"] while \"bear\" in animals: nums = [] while len (nums)Solution
problem 13:
6
12
problem 14:
problem 15:
[0]
problem 16:
15
problem 17:
0
problem 18:
roar
roar
roar
problem 19:
[0,1,2,3,4]
problem 20:
