Python
This is a Quick-Reference, not a tutorial for beginners.
More of a note-board for myself than a webpage for others anyway.
String
: Immutable,
“str”
‘str’
“““str”””
Tuble
: Immutable,
(123, ‘123’, 4*4)
List
:
[123, [1, 2, 3], “yo”]
Unicode String
:
u"str öä"
u"ö".encode(‘utf-8’)
unicode(“ä”, ‘utf-8’)
dictionary
: (immutables allowed as keys)
{123, “123”}