Python Fundamentals
for more updates visit:
PYTHON FUNDAMENTALS
VINOD KUMAR VERMA, PGT(CS), KV OEF KANPUR & SACHIN BHARDWAJ, PGT(CS), KV NO.1 TEZPUR
for more updates visit:
Python Character Set
Is a set of valid characters that python can recognize. A character represent letters, digits or any symbol. Python support UNICODE encoding standard. Following are the Python character set
Letters
: A-Z, a-z
Digits
: 0-9
Special symbols :space +-*/()~`!@#$%^ & [{ ]};:",/?
White spaces
: Blank space, Enter, Tab
Other character : python can process all ASCII and UNICODE as a part of data or literal
VINOD KUMAR VERMA, PGT(CS), KV OEF KANPUR & SACHIN BHARDWAJ, PGT(CS), KV NO.1 TEZPUR
TOKENS
for more updates visit:
In a passage of text, individual words and punctuation marks are called tokens or lexical units or lexical elements. The smallest individual unit in a program is known as Tokens. Python has following tokens:
Keywords Identifiers(Name) Literals Operators Punctuators
VINOD KUMAR VERMA, PGT(CS), KV OEF KANPUR & SACHIN BHARDWAJ, PGT(CS), KV NO.1 TEZPUR
KEYWORDS
for more updates visit:
Keywords are the reserved words and have special meaning for python interpreter. Every keyword is assigned specific work and it can be used only for that purpose.
A partial list of keywords in Python is
VINOD KUMAR VERMA, PGT(CS), KV OEF KANPUR & SACHIN BHARDWAJ, PGT(CS), KV NO.1 TEZPUR
IDENTIFIERS
for more updates visit:
Are the names given to different parts of program like variables, objects, classes, functions etc. Identifier forming rules of Python are :
Is an arbitrarily long sequence of letters and digits The first character must be letter or underscore Upper and lower case are different The digits 0-9 are allowed except for first character It must not be a keyword No special characters are allowed other than underscore is allowed. Space not allowed
VINOD KUMAR VERMA, PGT(CS), KV OEF KANPUR & SACHIN BHARDWAJ, PGT(CS), KV NO.1 TEZPUR
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- fundamentals of healthcare finance pdf
- fundamentals of financial management 14th
- fundamentals of financial management pdf
- fundamentals of financial management ebook
- fundamentals of financial management 15th
- fundamentals of financial management bri
- fundamentals of financial management brigham
- fundamentals of financial management e
- fundamentals of financial management solutions
- fundamentals of financial management exam
- fundamentals of management pdf
- fundamentals of healthcare finance answers