<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ディクショナリ on プログラミング演習B</title><link>https://ksubpb.github.io/2026/tags/%E3%83%87%E3%82%A3%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%8A%E3%83%AA/</link><description>Recent content in ディクショナリ on プログラミング演習B</description><generator>Hugo -- gohugo.io</generator><language>ja</language><copyright>© 2026</copyright><lastBuildDate>Wed, 07 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ksubpb.github.io/2026/tags/%E3%83%87%E3%82%A3%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%8A%E3%83%AA/index.xml" rel="self" type="application/rss+xml"/><item><title>ディクショナリ</title><link>https://ksubpb.github.io/2026/lesson02/dictionary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson02/dictionary/</guid><description>&lt;h2 class="relative group"&gt;ディクショナリ&#10; &lt;div id="ディクショナリ" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e3%83%87%e3%82%a3%e3%82%af%e3%82%b7%e3%83%a7%e3%83%8a%e3%83%aa" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;span class="flex" style="cursor: pointer;"&gt;&#10; &lt;span class="rounded-md border border-primary-400 px-1 py-[1px] text-xs font-normal text-primary-700 dark:border-primary-600 dark:text-primary-400"&gt;&#10; 教科書 p.142（Lesson 6.2）&#10; &lt;/span&gt;&#10;&lt;/span&gt;&#10;&#10;&#10;&lt;p&gt;ディクショナリは、キーと値のペアを格納するコレクションです。&#10;他の言語では、Map や Hash、連想配列と呼ばれることがあります。&#10;ディクショナリは、リストのインデックスの代わりに、キーと呼ばれる任意の型を用いて、対応するデータを格納します。&lt;/p&gt;</description></item><item><title>第02講 基本データ型（2/2; セット、ディクショナリ）、関数（1/2; 関数の基礎）</title><link>https://ksubpb.github.io/2026/lesson02/</link><pubDate>Wed, 07 Oct 2026 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson02/</guid><description>&lt;h2 class="relative group"&gt;概要&#10; &lt;div id="概要" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e6%a6%82%e8%a6%81" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;第02講では、前半で集合を扱うもののうち &lt;strong&gt;セット（set）&lt;/strong&gt; と &lt;strong&gt;ディクショナリ（dictionary）&lt;/strong&gt; について学習します。&#10;セットは順序なしの要素の集まりであり、ディクショナリはキーと値のペアの集まりです。&lt;/p&gt;</description></item><item><title>第02講 週次課題</title><link>https://ksubpb.github.io/2026/lesson02/assignments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson02/assignments/</guid><description>&lt;h2 class="relative group"&gt;課題02-1 単語数の分布&#10; &lt;div id="課題02-1-単語数の分布" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e8%aa%b2%e9%a1%8c02-1-%e5%8d%98%e8%aa%9e%e6%95%b0%e3%81%ae%e5%88%86%e5%b8%83" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;div class="flex mt-2"&gt;&#10; &lt;span&#10; class="rounded-full bg-primary-500 dark:bg-primary-400 text-neutral-50 dark:text-neutral-800 px-1.5 py-[1px] text-xs font-normal"&gt;&#10; &lt;span class="flex flex-row items-center"&gt;&lt;span class="mr-1"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&lt;path fill="currentColor" d="M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"/&gt;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;難易度 ⭐⭐&lt;/span&gt;&#10; &lt;/span&gt;&#10; &lt;/span&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;&lt;a href="../assets/alice_chapter01.txt" &gt;&lt;code&gt;alice_chapter01.txt&lt;/code&gt;&lt;/a&gt; は、ルイス・キャロルの「&lt;a href="https://www.gutenberg.org/files/11/11-h/11-h.htm" target="_blank" rel="noreferrer"&gt;不思議の国のアリス&lt;/a&gt;」の第01章のテキストファイルです。&#10;このファイルの単語の頻度を求めてください。&lt;/p&gt;</description></item><item><title>まとめ</title><link>https://ksubpb.github.io/2026/lesson02/summary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson02/summary/</guid><description>まとめ（データ構造　セット、ディクショナリ、関数の基礎）</description></item></channel></rss>