mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 14:17:48 +07:00
7 lines
149 B
Python
7 lines
149 B
Python
list = [1, 2, 3]
|
|
"{foo[1]}".format(foo=list)
|
|
"{foo[3]}".format(foo=list)
|
|
|
|
tuple = (1, 2, 3)
|
|
"{foo[1]}".format(foo=tuple)
|
|
"{foo[3]}".format(foo=tuple) |