PYTHON MCQ
Topic: Order of Operations PEMDAS
P Parentheses first
E Exponents (powers, square roots, and so on)
MD Multiplication and Division (left-to-right)
AS Addition and Subtraction (left-to-right)
what is output?
print(((1 + 3) * (9 - 2) / 2) ** 2)
Comments
Post a Comment