Convert the following mathematical expressions so that they can be calculated using the Python interpreter.
10 + 20 × 30
42 ÷ 30
(94 + 2) × 6 - 1
Answer:
##############################################################################
# Python From Scratch
# Author: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2025 - LogiKraft 2025
# Site: https://pythonfromscratch.com
# ISBN: 978-85-7522-949-1 (Paperback), 978-85-7522-950-7 (hardcover), 978-85-7522-951-4 (ebook)
#
# File: chapter 02/exercise-02-01.py.py
##############################################################################
# To execute the calculation and view the answer,
# copy and paste the lines below into the interpreter window,
# one at a time.
# The exercise answers are the lines below:
10 + 20 * 30
4**2 / 30
(9**4 + 2) * 6 - 1