CMN 152v QUESTIONS AND
ANSWERS GRADED A+ 2025/2026
can you add spaces between terms in code with really changing the meaning - ANS ✔✔yes
how do u write pi - ANS ✔✔math.pi
how do you write e - ANS ✔✔math.e
how do u have access to a module's functionality (ex. math) - ANS ✔✔import it
aka; import math
if you dont write print you will only see what when you run code - ANS ✔✔the last output in
the block
how to print something - ANS ✔✔print( )
how to write a variable - ANS ✔✔x = 6
can an _ start a variable - ANS ✔✔yes _x is a valid variable
can some names not be variables - ANS ✔✔yes, thinks like math and other variables that have
other meanings in python
ANSWERS GRADED A+ 2025/2026
can you add spaces between terms in code with really changing the meaning - ANS ✔✔yes
how do u write pi - ANS ✔✔math.pi
how do you write e - ANS ✔✔math.e
how do u have access to a module's functionality (ex. math) - ANS ✔✔import it
aka; import math
if you dont write print you will only see what when you run code - ANS ✔✔the last output in
the block
how to print something - ANS ✔✔print( )
how to write a variable - ANS ✔✔x = 6
can an _ start a variable - ANS ✔✔yes _x is a valid variable
can some names not be variables - ANS ✔✔yes, thinks like math and other variables that have
other meanings in python