mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
17 lines
401 B
Python
17 lines
401 B
Python
# Spec: https://docs.python.org/2/library/types.html
|
|
print(None)
|
|
# TypeType
|
|
# print(True) # LOAD_NAME???
|
|
print(1)
|
|
# print(1L) # Long
|
|
print(1.1)
|
|
# ComplexType
|
|
print("abc")
|
|
print(u"abc")
|
|
# Structural below
|
|
# print((1, 2)) # Tuple can be any length, but fixed after declared
|
|
# x = (1,2)
|
|
# print(x[0]) # Tuple can be any length, but fixed after declared
|
|
# print([1, 2, 3])
|
|
# print({"first":1,"second":2})
|