Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


Basic Data Types

...

Contant values by the types

ValuePython Expression
Hexa decimal a10xa1

3.2e-12
  • Horizontal Tab character
  • Newline (ASCII Linefeed) character
  • The character with hexadecimal value a0
  • '\t\n\xa0'
  • "\t\n\xa0"
  • '''\t\n\xa0'''
  • """\t\n\xa0"""

...

Diagram for the list indices:

'foo''bar''baz''qux''quux''corge'
012345
-6-5-4-3-2-1

Result

Code Block
False
qux
['bar', 'baz']
foo
['quux', 'baz', 'foo']

...