Pythonトレーニング
< 戻る
次へ >
5.3-3 タプル型式の可変長引数
①可変長引数を持つ関数の例
def method1(*args): for data in args: print(args)
method1(12, 34, 56) -> 12 34 56
< 戻る
次へ >