In the blank spaces below, write the output produced by each…

In the blank spaces below, write the output produced by each line of the following program, as it would appear on the console. def claim(hear, good, song): print(hear, “plus”, song, “is greater than”, good) return hear + song def main(): hear = 4 song = 5 good = 12 walk = 90 talk = 19 feel = 23 good = claim(feel, song, feel) again = claim(good, hear, song) claim(talk, 14, feel) talk = claim(talk, again, walk) main() Line 1: [l1] Line 2: [l2] Line 3: [l3] Line 4: [l4]

In the blank spaces below, write the output produced by each…

In the blank spaces below, write the output produced by each line of the following program, as it would appear on the console. def double_up(ten, two, twenty): ten = ten // 2 print(two, “is half of”, twenty, “plus”, ten); return ten + two def main(): ten = 40 fourty = 30 thirty = 20 fifty = 10 twenty = 50 sixty = double_up(fifty, ten, thirty) fifty = double_up(twenty, 70, sixty) double_up(ten, fourty, fifty) fifty = 10 ten += double_up(sixty, sixty * 2, ten) double_up(fifty, 20, ten) main() Line 1: [l1] Line 2: [l2] Line 3: [l3] Line 4: [l4] Line 5: [l5]

In the blank spaces below, write the output produced by each…

In the blank spaces below, write the output produced by each line of the following program, as it would appear on the console. def equation(one, four, two): two = two + “two” print(four, “is half of”, two, “plus”, one) return two + “two” def main(): one = “four” two = “two” three = “one” four = “mouse” ten = “cat” five = equation(one, two, three) one = equation(one, “rabbit”, three) equation(one, four, five) ten += equation(five + “++”, four, five) equation(ten, “kitten”, four) main() Line 1: [l1] Line 2: [l2] Line 3: [l3] Line 4: [l4] Line 5: [l5]

In the blank spaces below, write the output produced by each…

In the blank spaces below, write the output produced by each line of the following program, as it would appear on the console. def claim(hear, good, song): print(hear, “plus”, song, “is greater than”, good) return hear + song def main(): hear = 4 song = 5 good = 12 walk = 90 talk = 19 feel = 23 good = claim(feel, song, feel) again = claim(good, hear, song) claim(talk, 14, feel) talk = claim(talk, again, walk) main() Line 1: [l1] Line 2: [l2] Line 3: [l3] Line 4: [l4]

In the blank spaces below, write the output produced by each…

In the blank spaces below, write the output produced by each line of the following program, as it would appear on the console. def double_up(ten, two, twenty): ten = ten // 2 print(two, “is half of”, twenty, “plus”, ten); return ten + two def main(): ten = 40 fourty = 30 thirty = 20 fifty = 10 twenty = 50 sixty = double_up(fifty, ten, thirty) fifty = double_up(twenty, 70, sixty) double_up(ten, fourty, fifty) fifty = 10 ten += double_up(sixty, sixty * 2, ten) double_up(fifty, 20, ten) main() Line 1: [l1] Line 2: [l2] Line 3: [l3] Line 4: [l4] Line 5: [l5]