LoginSignup
0
3

More than 3 years have passed since last update.

Python *kwargs **kwargs について

Last updated at Posted at 2019-05-11

Pythonのコードでよく出てくる*kwargs **kwargsについて?と思った方
下記のURLを見れば分かります。

結論から言うと*と**を付ける事で、任意の数の引数(可変長引数)を渡す事が出来るというもの。
*と**の違いはタプルとして渡すか、辞書型として渡すかの違い。

0
3
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
3