Python Language: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 2: Line 2:
* [[Python#Subjects|Python]]
* [[Python#Subjects|Python]]
=Reserved Words=
=Reserved Words=
Reserved words can only be used to mean the thing Python expects them to mean. They cannot be used as [[#Variables|variables]] or [[#Identifiers|identifiers]].
Reserved words can only be used to mean the thing Python expects them to mean. They cannot be used as [[#Variables|variable names]] or [[#Identifiers|identifiers]].


=Statements=
=Statements=

Revision as of 04:25, 22 May 2021

Internal

Reserved Words

Reserved words can only be used to mean the thing Python expects them to mean. They cannot be used as variable names or identifiers.

Statements

Assignment Statement

x = 1

Functions

Expressions

Variables

Identifiers

Organizatorium

  • statement vs function. print is a statement in python 2, print() is a function in python3.