<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a2c</author_name>
  <author_url>https://blog.hatena.ne.jp/a2c/</author_url>
  <blog_title>When it’s ready.</blog_title>
  <blog_url>https://a2c.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>よく見かけるPythonの書き方で*hogeとか**mapとか有るのがイマイチ理解できてなかった。ので、ググったけどお目当ての情報にありつけづ全然分からないので、Vの字に聞いた。thx V *の場合 def asta_func(*hoge): print hoge for i in hoge: print i こういう風に使ってあげる。そんで、呼ぶ時には適当に引数を付けて呼べる。 &gt;&gt;&gt;asta_func(1,2,3) (1, 2, 3) 1 2 3リスト（というかタプル）になって渡されることになる。 とりあえづ作ったファンクションに引数がいくつになるか分からない的な時にコレやっていればとりあ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa2c.hatenablog.com%2Fentry%2F20090301%2F1235909666&quot; title=&quot;pythonの引数にある*hogeとか**mapとか - When it’s ready.&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-03-01 21:14:26</published>
  <title>pythonの引数にある*hogeとか**mapとか</title>
  <type>rich</type>
  <url>https://a2c.hatenablog.com/entry/20090301/1235909666</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
