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

Course Content

Data Types in Python

Data Types in Python

1. Getting Familiar With Numbers in Python
2. True or False?
3. Strings
4. Bring All the Topics Together

bookCompulsory Math

SignWhat Does It DoExampleResultApplication features
+Adds numbers5 + 49-
-Subtracts the right-hand number from the left-hand one5 - 41-
*Multiplies numbers5 * 420-
/Divides the left-hand number by the right-hand one20 / 45.0Do not divide by zero
**Elevates the number on the left to the power of the number on the right.2 ** 38-
question-icon

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?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 4
We're sorry to hear that something went wrong. What happened?
some-alt