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
course content

Course Content

Introduction to Python

Introduction to Python

1. First Acquaintance
2. Variables and Types
3. Conditional Statements
4. Other Data Types
5. Loops
6. Functions

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:

Task

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.

Task

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.

Everything was clear?

Section 1. Chapter 3
toggle bottom row

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:

Task

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.

Task

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.

Everything was clear?

Section 1. Chapter 3
toggle bottom row

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:

Task

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.

Task

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.

Everything was clear?

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:

Task

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.

Section 1. Chapter 3
Switch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt