Python Tokens | Python Programming in Tamil | #3

Pubblicato il: 23 maggio 2020
sul canale di: Sriramasubramaniam Nagarajan
1,927
65

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...


In questa pagina del sito puoi guardare il video online Python Tokens | Python Programming in Tamil | #3 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Sriramasubramaniam Nagarajan 23 maggio 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,927 volte e gli è piaciuto 65 spettatori. Buona visione!