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

bookSome 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:

12345678
# Addition print(1039 + 948) # Subtraction print(10484 - 9274) # Division print(95873/472)
copy

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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 3
toggle bottom row

bookSome 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:

12345678
# Addition print(1039 + 948) # Subtraction print(10484 - 9274) # Division print(95873/472)
copy

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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 3
toggle bottom row

bookSome 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:

12345678
# Addition print(1039 + 948) # Subtraction print(10484 - 9274) # Division print(95873/472)
copy

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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

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:

12345678
# Addition print(1039 + 948) # Subtraction print(10484 - 9274) # Division print(95873/472)
copy

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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 3
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
some-alt