<Python tools> basic calculation & variables

Python is an easy to learn, powerful programming language. Its efficient high-level data structure helps us efficiently analyze BIG DATA. The following examples are coded with Jupyter Notebook.

Addition
Addition
Subtraction
Multiplication
Calculate powers
Division
Round figure
Get remainder
Caution! This += calculation symbol can not be separated with space.
Casting

In Topic 1, we learn how to use Python as a calculator and how to assign a variable.

Upcoming in Topic 2,

we will learn the different data types used in Python.

Image by 愚木混株 Cdd20 from Pixabay

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store