Mind map
Python
Map content
Python
The simplest directive in Python is the "print" directive - it simply prints out a line.
- Python uses indentation for blocks, instead of curly braces. Both tabs and spaces are supported, but the standard indentation requires standard Python code to use four spaces.
Variables and Types
- Python supports two types of numbers - integers(whole numbers) and floating point numbers(decimals).
- To define a floating point number
- Strings are defined either with a single quote or a double quotes.
- Python supports two types of numbers - integers(whole numbers) and floating point numbers(decimals).
Lists are very similar to arrays. They can contain any type of variable, and they can contain as many variables as you wish. Lists can also be iterated over in a very simple manner.
Just as any other programming languages, the addition, subtraction, multiplication, and division operators can be used with numbers.
Images and files in the map
Information
- Description
- Mind Map on Python, created by Nada Mohamed on 01/03/2022.
- Created by
- Nada Mohamed
- Views
- 0
- Rating