Python Tokens | Python Programming in Tamil | #3
In this video we are going to answer the following questions
What is Python Tokens and Types ?
What are Python Keywords ?
What are Python Literals and Types ?
What are Python Operators and Types ?
Tokens are the smallest unit represented in a program
The Various representation of Tokens are
Keywords
Identifiers
Literals
Operators
---------------
keywords
---------------
Keywords are reserved words in a program
The various keywords in python are
True False None and as
Asset Def class continue Break
if else elif finally del
for global from import except
raise try or return pass
nonlocal in not is lambda
----------------
Identifiers
----------------
Identifiers are the names given to the fundamental block of program. It can be variable, class, function, etc..
There are set of rules need to followed in-order to name fundamental blocks of program
Can contain numbers and characters eg: name4,alex2,a1,func2()
No special character except underscore(_) eg: _abc, post_man
Keywords should not be used
Python is case sensitive
First character of identifier should be a character or underscore but not an number
-------------
Literals
-------------
Literals are the data given in a variable or constant
The various Literals are
String Literal [text given in a single or double quotes]
Numeric Literal [int(SIgned), long, float, complex numbers]
Boolean Literal [True or False]
Special Literal [None – is used to specify a field that is not created ]
Literal Collection [List, Tuple, Dictionary]
----------------
Operators
----------------
Operators are symbols which operate on a value and produces an output
The various Operators are
Arithmetic [+,-,*,/,%,//]
Relational [less than,greater than,==,!=]
Assignment [+=,-=,*=,/=,%=,//=]
Logical [and, or, not]
Membership [in, not in]
Identity [is, is not]
Bitwise [&,^,|]
You can download Python from https://www.python.org/
****************************************************************************
YouTube - / @sriramasubramaniamnagarajan
Connect me @
facebook: https://www.facebook.com/profile.php?...
instagram: / sriramasubramaniam
sololearn: https://www.sololearn.com/Profile/104...
PlayList:
C programming - • C Programming Language
Python Programming - • Python Programming
canva - https://www.canva.com/join/simplified...
En esta página del sitio puede ver el video en línea Python Tokens | Python Programming in Tamil | #3 de Duración hora minuto segunda en buena calidad , que subió el usuario Sriramasubramaniam Nagarajan 23 mayo 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,927 veces y le gustó 65 a los espectadores. Disfruta viendo!