what is python
python data types
Python Lists
Python Dictionaries
Python Operators
100

what python do 

  • Python can be used on a server to create web applications.
  • Python can be used alongside software to create workflows.
  • Python can connect to database systems. It can also read and modify files.
  • Python can be used to handle big data and perform complex mathematics.
  • Python can be used for rapid prototyping, or for production-ready software development.
100

what is phyton datat types 

Variables can store data of different types, and different types can do different things

100

Lists are used to store multiple items in a single variable.

Lists are one of 4 built-in data types in Python used to store collections of data, the other 3 are Tuple, Set, and Dictionary, all with different qualities and usage.

100

what dictionaries used 

to store data values in key:value pairs.

100

what is a Python Operators

Operators are used to perform operations on variables and values

200

examples or phyton 

print("Hello, World!")

200

Mapping Type:

dict 

200

Lists are created using

square brackets :

200

Dictionaries are written with curly brackets, and

have keys and values 

200

we put + yes or no 

yes we use the + operator to add together two values 

300

what is a python indentation 

Indentation refers to the spaces at the beginning of a code line.

Where in other programming languages the indentation in code is for readability only, the indentation in Python is very important.

300

Set Types: set or frozenset 

set and frozenset 

300

List Items

are ordered, changeable, and allow duplicate values.

300

Example

Create and print a dictionary:

hisdict = {
  "brand": "Ford",
  "model": "Mustang",
  "year": 1964
}
print(thisdict)

300

Python divides the operators

  • Arithmetic operators
  • Assignment operators
  • Comparison operators
400

why python 

  • Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc).
  • Python has a simple syntax similar to the English language etc
400

different types of python data types


Text Type:strNumeric Types:int, float, complexSequence Types:list, tuple, range

400

note of ordered

There are some list methods that will change the order, but in general: the order of the items will not change.

400

Dictionary Items are 

ordered, changeable, and does not allow duplicates.

400

what is a 

Python Arithmetic Operators

Arithmetic operators are used with numeric values to perform common mathematical operations:

500

There are three numeric types in Python:

  • int
  • float
  • complex

python numbers 

500

Example

Print the data type of the variable x:

x = 5
print(type(x))

500

what is a Ordered

When we say that lists are ordered, it means that the items have a defined order, and that order will not change

500

 dictionaries Ordered or Unordered?

ordered 

500

what is a Python Identity Operators

Identity operators are used to compare the objects, not if they are equal, but if they are actually the same object, with the same memory location:

M
e
n
u