最終更新:2021-04-19 (月) 04:57:28 (1110d)
Python/タプル
- Python/Tuple?
Python/シンタックスシュガー
メモ
- 要素数が1のタプルは末尾にカンマが付く
- これはstr
t = ('hello')
- これはタプル
t = ('hello',)
おなかすいた族!
t = ('hello')
t = ('hello',)