“jetons python” Réponses codées

jetons python

#Python Token
#List of Python Tokens

 -Keywords
 -Identifier
 -Literals
 -Operators

-Kewwords: 
 Keywords are pythons reserved words, they convey a special meaning to 
 the compiler/interpreter. Each keyword has a certain meaning and a 
 certain opperation that it needs to carry out. Never use a keyword as 
 a variable as that could cause lots of complications and mistakes.

-Identifier:
 An Identifier is a name used to identify a variable, function, 
 class or object.
 Rules of Identifiers:
    ->No special characters exepct underscores(_),can be used as 
      an identifier
    ->Keywords should not be used as an identifier
    ->Python is case sensitive, Var with a capital V and var with
      a lowercase v are two separate identifiers
    ->The first character of an identifier can be an alphabet or 
      underscore but not a digit
     
-Literals:
 There are many types of literals such as the following
 Types of Literals:
    ->string literals
    ->numeric literals
    ->boolean literals
    ->special literals

-Operators:
 Operators are special symbols that are used to carry out aritmetic 
 and logic operations
 Various Types of Operators:
    ->Arithmetic
    ->Assigment
    ->Comparison
    ->Logical
    ->Bitwise
    ->Identity
    ->Membership
Abstract

jetons python

#PythonTokens
*Keywords--> False,True,return
*Literals--> datatypes like bool,int,float
*Operators-->  arithmatic and logic computation like /,//,**,*,+,-
*Identifiers--> some random combinations of character like alphabets,digits,etc.
*Punctuators--> parentheses ( ) , braces { }  these are punctuators
Gr@Y_orphan_ViLL@in##

Réponses similaires à “jetons python”

Questions similaires à “jetons python”

Plus de réponses similaires à “jetons python” dans Python

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code