Загрузка...

python Identifier Naming and Keywords L - 4 in hindi by mtp institute

python Identifier Naming and Keywords notes: Identifier Naming Variables are the example of identifiers. An Identifier is used to identify the literals used in the program. The rules to name an identifier are given below. The first character of the variable must be an alphabet or underscore ( _ ). All the characters except the first character may be an alphabet of lower-case(a-z),upper-case (A-Z), underscore, or digit (0-9). Identifier name must not contain any white-space, or special character (!, @, #, %, ^, &, *). Identifier name must not be similar to any keyword defined in the language. Identifier names are case sensitive; for example, myname, and MyName is not the same. Examples of valid identifiers: a123, _n, n_9, etc. Examples of invalid identifiers: 1a, n%4, n 9, etc. Python Keywords Python Keywords are special reserved words that convey a special meaning to the compiler/interpreter. Each keyword has a special meaning and a specific operation. These keywords can't be used as a variable. Following is the List of Python Keywords. True False None and as asset def class continue break else finally elif del except global for if from import raise try or return pass nonlocal in not is lambda

Видео python Identifier Naming and Keywords L - 4 in hindi by mtp institute автора Python: революция в программировании
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки