Course Content

Introduction to Python

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

Task

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

`2580`

added to`198`

.`23`

times`42`

.`1512`

divided by`27`

.

Task

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

`2580`

added to`198`

.`23`

times`42`

.`1512`

divided by`27`

.

Everything was clear?

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

`2580`

added to`198`

.`23`

times`42`

.`1512`

divided by`27`

.

Task

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

`2580`

added to`198`

.`23`

times`42`

.`1512`

divided by`27`

.

Everything was clear?

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

`2580`

added to`198`

.`23`

times`42`

.`1512`

divided by`27`

.

Task

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

`2580`

added to`198`

.`23`

times`42`

.`1512`

divided by`27`

.

Everything was clear?

`+`

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:

`2580`

added to`198`

.`23`

times`42`

.`1512`

divided by`27`

.