Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Some Simple Math | First Acquaintance
Introduction to Python

Some Simple Math

Great job! Python excels at crunching numbers. The syntax is simple: use + for addition, - for subtraction, * for multiplication, and / for division. Remember to use the print() function if you want to display the result. Unlike strings, mathematical expressions don't require quotation marks ("..." or '...').

For instance, let's tackle some basic math:

Tarea

Here's your assignment: compute the following and print the outcomes:

  1. 2580 added to 198.
  2. 23 times 42.
  3. 1512 divided by 27.

¿Todo estuvo claro?

Sección 1. Capítulo 3
toggle bottom row
course content

Contenido del Curso

Introduction to Python

Some Simple Math

Great job! Python excels at crunching numbers. The syntax is simple: use + for addition, - for subtraction, * for multiplication, and / for division. Remember to use the print() function if you want to display the result. Unlike strings, mathematical expressions don't require quotation marks ("..." or '...').

For instance, let's tackle some basic math:

Tarea

Here's your assignment: compute the following and print the outcomes:

  1. 2580 added to 198.
  2. 23 times 42.
  3. 1512 divided by 27.

¿Todo estuvo claro?

Sección 1. Capítulo 3
toggle bottom row
some-alt