Python 3 – Variable Types ....................................................................................................................... 23
Bog'liq
python3 tutorial 060821094426
5.
Python 3 – Variable Types ....................................................................................................................... 23
Assigning Values to Variables ........................................................................................................................ 23
Multiple Assignment ..................................................................................................................................... 23
Standard Data Types...................................................................................................................................... 24
Python Numbers ............................................................................................................................................ 24
Python Strings................................................................................................................................................ 25
Python Lists ................................................................................................................................................... 26
Python Tuples ................................................................................................................................................ 27
Python Dictionary .......................................................................................................................................... 27
Data Type Conversion .................................................................................................................................... 28
6.
Python 3 – Basic Operators ..................................................................................................................... 30
Types of Operator .......................................................................................................................................... 30
Python Arithmetic Operators ........................................................................................................................ 30
Python Comparison Operators ...................................................................................................................... 32
Python Assignment Operators ...................................................................................................................... 33
Python Bitwise Operators .............................................................................................................................. 35
Python Logical Operators .............................................................................................................................. 37
Python Membership Operators ..................................................................................................................... 38
Python Identity Operators ............................................................................................................................. 39
Python Operators Precedence ...................................................................................................................... 40
Do'stlaringiz bilan baham: