Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Compulsory Math | Getting Familiar With Numbers in Python
Data Types in Python

# Compulsory Math

 Sign What Does It Do Example Result Application features `+` Adds numbers `5 + 4` 9 - `-` Subtracts the right-hand number from the left-hand one `5 - 4` 1 - `*` Multiplies numbers `5 * 4` 20 - `/` Divides the left-hand number by the right-hand one `20 / 4` 5.0 Do not divide by zero `**` Elevates the number on the left to the power of the number on the right. `2 ** 3` 8 -

#### Follow the comments.

# Calculate the addition of integer and floating number
number_1 =

# Raise floating point number to the power of integer number
number_2 =

print(number_1)
print(number_2)
184.2
274.625

Click or drag`n`drop items and fill in the blanks

Everything was clear?

Section 1. Chapter 4

Course Content

Data Types in Python

# Compulsory Math

 Sign What Does It Do Example Result Application features `+` Adds numbers `5 + 4` 9 - `-` Subtracts the right-hand number from the left-hand one `5 - 4` 1 - `*` Multiplies numbers `5 * 4` 20 - `/` Divides the left-hand number by the right-hand one `20 / 4` 5.0 Do not divide by zero `**` Elevates the number on the left to the power of the number on the right. `2 ** 3` 8 -

#### Follow the comments.

# Calculate the addition of integer and floating number
number_1 =

# Raise floating point number to the power of integer number
number_2 =

print(number_1)
print(number_2)
184.2
274.625

Click or drag`n`drop items and fill in the blanks

Everything was clear?

Section 1. Chapter 4