*
演算子を使うとリストから括弧を除くことができる。
sample.py
list = [a, b, c]
print(list)
>> [a, b, c]
sample.py
list = [a, b, c]
print(*list)
>> a b c
Go to list of users who liked
More than 3 years have passed since last update.
*
演算子を使うとリストから括弧を除くことができる。
list = [a, b, c]
print(list)
>> [a, b, c]
list = [a, b, c]
print(*list)
>> a b c
Register as a new user and use Qiita more conveniently
Go to list of users who liked