Jed Rembold
January 23, 2026
LKhWDb
What value does the below expression evaluate to? What type of object is the result?
1 * 2 * 3 + (4 + 5) % 6 + (7 * 8) // 9
Some of the variable names below are invalid. If you take the 3rd character of each invalid variable name, they will form an anagram for a coding concept. What is the hidden word?
user_age |
1st_place |
bag%red |
first-name |
_temp_celsius |
elif |
AvgScore |
the num |
NUM_ITEMS |
x2 |
@angle |
item_# |
__secret__ |
attempt23 |
time4bed |
What is the final value of the A variable
at the end of the code to the right?
>>> A = 10
>>> B = 4
>>> C = A * B
>>> A -= B
>>> A, B, C = C, A, B
>>> A
??
Get the birth month number of each member of your group, and
assign them to the variables A,
B, C,
etc.
Your challenge is to get each of the variables equating to parts of today’s date:
A = 1
B = 23
C = 20
D = 26You are only allowed to use these variables, arithmetic
operations, and for loops, updating from
your starting values each step of the way
for loop
parentheses, if you use for loopswavelength = 400 * 10 ** -9 # meter
temperature = 1000 # kelvin
H = 6.62E-34
C = 3E8 # m/s
KB = 1.38E-23
first_fraction = 2 * H * C ** 2 / wavelength ** 5
exp_fraction = H * C / (wavelength * KB * temperature)
second_fraction = 1 / (2.71828 ** exp_fraction - 1)
brightness = first_fraction * second_fraction
print(brightness)