diff --git a/2. Python Basics/1-ExerciseOperatorPrecedence.py b/2. Python Basics/1-ExerciseOperatorPrecedence.py index 55e86b1..bb1a7b8 100644 --- a/2. Python Basics/1-ExerciseOperatorPrecedence.py +++ b/2. Python Basics/1-ExerciseOperatorPrecedence.py @@ -1,12 +1,12 @@ # Guess the output of each answer before you click RUN # Try to write down your answer before and see how you do... keep it mind I made it a little tricky for you :) -print((5 + 4) * 10 / 2) +print((5 + 4) * 10 / 2) 45 -print(((5 + 4) * 10) / 2) +print(((5 + 4) * 10) / 2) 45.0 -print((5 + 4) * (10 / 2)) +print((5 + 4) * (10 / 2)) 45 -print(5 + (4 * 10) / 2) +print(5 + (4 * 10) / 2) 25 -print(5 + 4 * 10 // 2) +print(5 + 4 * 10 // 2) 25