<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>program-shoshinsya</author_name>
  <author_url>https://blog.hatena.ne.jp/program-shoshinsya/</author_url>
  <blog_title>auの日記</blog_title>
  <blog_url>https://program-shoshinsya.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>アンパック</anon>
  </categories>
  <description>auです。Pythonのアンパックについて調べました。 アンパックとは アンパックとは、複数の値を各変数に代入することです。アンパックは、荷物を開けて中身を取り出すという意味があるそうです。やり方は複数あるようです。 タプルをアンパックする a, b, c = (1, 2, 3) print(a) # 1 print(b) # 2 print(c) # 3 複数の値(タプルの1, 2, 3)を各変数(a, b, c)に代入していることが分かります。 リストをアンパックする リストのアンパックには、「*」を使います。 test_list = [1, 2, 3] print(*test_list)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fprogram-shoshinsya.hatenablog.com%2Fentry%2F2020%2F09%2F19%2F231719&quot; title=&quot;Pythonのアンパックって何 - auの日記&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>2020-09-19 23:17:19</published>
  <title>Pythonのアンパックって何</title>
  <type>rich</type>
  <url>https://program-shoshinsya.hatenablog.com/entry/2020/09/19/231719</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
