(Sep-22-2020, 05:36 PM)Julie Wrote: What Are Python Literals?
Python literals are explained in documentation under The Python Language Reference > 6. Expressions > 6.2. Atoms > 6.2.2. Literals
Position of this document gives idea of literals 'place' in Python's taxonomy so if interested one can get broader picture including expressions, atoms, identifiers (names), literals, displays etc.
As for short definition have look at The Python Language Reference > 2. Lexical Analysis > 2.4 Literals:
Quote:Literals are notations for constant values of some built-in types.
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.