Question

In the box provided, enter the result obtained when you run the following program:

x = 1
y = x
x = 3
print(x + y)

Question

Select the result obtained when you run the following program:

MY_CONSTANT = 1
MY_CONSTANT = 2
print(MY_CONSTANT)

Question

Select the result obtained when you run the following program:

for = 4
five = 5
print(for + five)

Question

In the box provided, enter the result obtained when you run the following program:

x = 10
y = 6
y = y + 2
z = x - y
print(z)

Question

Select the result obtained when you run the following program:

my_string = '4'
my_string = 4
my_string = my_string * 4
print(my_string)

Question

Select the result obtained when you run the following program:

1_number = 1
2_number = 2
1_number = 2
print(1_number * 2_number)

Question

Select the result obtained when you run the following program:

Total = 10
cost = 3
cost = 5
print(total * cost)

Question

Select the result obtained when you run the following program:

Total = 10
cost = 3
cost = 5
total = 1
print(Total * cost)

Question

Select the result obtained when you run the following program:

my variable = 1
x = 2
y = 3
print(my variable + x ** y)

Question

Select the result obtained when you run the following program:

x = 2
3 = y
print(y ** x + 1)