Enter the result of (that is, what would be printed by) each…
Enter the result of (that is, what would be printed by) each of the following Python expressions. Note that type matters: if the result is a float, you should write the answer as 1.0 instead of 1. If the result is an integer, you should write it as 1 instead of 1.0. Be careful with your orders of operations. If an expression will cause Python to return an error, enter “Error” (without quotation marks). If the result is a string, you may enter it with or without quotation marks. 15 // 3 + 3 [blank1] 19 % 4 [blank2] 5 ** (4 – 2) [blank3] 8 + float(“3”) [blank4] 5 ** 3 == 5 * 5 [blank5] 25 // 6 + 1 [blank6] “4.0” == 16 / 4 [blank7] 6 / 3 [blank8] str(10 + 1) = “101” [blank9] 4 * “7” [blank10] 11 // 5 [blank11] float(13) + int(3) [blank12] 2 * “5” * 4 [blank13] “b” + “a” * 3 + “n” * 2 == “banana” [blank14] 9 * “8” * “7” [blank15] “aahh” + “ha” * 6 [blank16]
Read Details