float or enclosing it in double quotes
if it’s a str.
9 / 39 // 310 // 310 % 33 % 102 ** 3"abc" + "def""baa " * 2(9 % ( 6 // 2))9 % 6 // 22 ** 2 ** 4("na" * 8 + " ") * 2 + "Batman!"1 + 2 ** 3 / 4 * 5 - (6 % 7)For each of the following, say whether it is a statement or an expression:
a = 4a + 4int(6.4) + 2Suppose we run the following program, and the user types
6 and presses enter. What happens?
user_num = input("Enter a number: ")
result = 5 % (3 ** (user_num // 4))Suppose we run the following program, and the user types
6 and presses enter. What value gets stored in
result?
user_num = int(input("Enter a number: "))
result = 5 % (3 ** (user_num // 4))What does the following expression evaluate to?
float(str(int(2.6 / 2))*2)