mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-22 08:40:03 +01:00
20 lines
467 B
Plaintext
20 lines
467 B
Plaintext
print(tuple())
|
|
print((1,))
|
|
print((1, 2))
|
|
print((1, 2,))
|
|
print((1, 2, 3))
|
|
print((1, '2', 3))
|
|
print((1, (2, 3), 4))
|
|
print((1, (2, (3, 4)), 5))
|
|
let a := (1, 2, 3)
|
|
print(a[2])
|
|
print(a?.2)
|
|
print(a?.8)
|
|
print((1, (2, (3, 4)), 5)[2][2][2])
|
|
print((1, (2, (3, 4)), 5)?.2?.2?.2)
|
|
print((1, (2, (3, 4)), 5)?.[2]?.[2]?.[2])
|
|
print((1, (2, (3, 4)), 5)?.4?.7?.2)
|
|
print((1, (2, (3, 4)), 5)?.[4]?.[7]?.[2])
|
|
print((1, (2, (3, 4, ), ), 5, ).2.2.2)
|
|
print((1, (2, (3, 4)), 5)[2][2][2] + 1)
|