Skip to main content
Turn two math formulas into Python expressions, with operator precedence instead of extra parentheses. Open Lab 5 in the IP Lab Portal

What you will practice

  • Translate a formula with fractions and powers
  • Add parentheses only where needed
  • Test it with several values of x

Before you start

Time

20 minutes

Where

IP Lab Portal

Module

Module 3: Operators, expressions, and console I/O

  • In the IP Lab Portal, open Lab 5 - Evaluate an expression.
  • In class, this lab comes right after the Lesson 3 recap slide in Module 3 core material.