<?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://ksupbpb.github.io/2025/tags/%E3%83%AA%E3%82%B9%E3%83%88/</link>
    <description>Recent content in リスト on プログラミング演習B</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>ja</language>
    <copyright>© 2026 </copyright>
    <atom:link href="https://ksupbpb.github.io/2025/tags/%E3%83%AA%E3%82%B9%E3%83%88/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>リストとタプル</title>
      <link>https://ksupbpb.github.io/2025/lesson01/list_and_tuple/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson01/list_and_tuple/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;リスト（配列） 
    &lt;div id=&#34;リスト配列&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e3%83%aa%e3%82%b9%e3%83%88%e9%85%8d%e5%88%97&#34; aria-label=&#34;アンカー&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;span class=&#34;flex&#34; style=&#34;cursor: pointer;&#34;&gt;
  &lt;span class=&#34;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&#34;&gt;
    教科書 p.94（Lesson 5）
  &lt;/span&gt;
&lt;/span&gt;

&lt;p&gt;プログラムを書く上で，複数のデータをまとめて扱うことがよくあります．
このような場合，コレクションと呼ばれるデータ構造を用います．
コレクションには，リスト，セット，ディクショナリなどのデータ構造がありますが，ここではリストについて説明します．&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>リストとタプルの操作</title>
      <link>https://ksupbpb.github.io/2025/lesson01/iterator/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson01/iterator/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;繰り返し，イテレータ 
    &lt;div id=&#34;繰り返しイテレータ&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e7%b9%b0%e3%82%8a%e8%bf%94%e3%81%97%e3%82%a4%e3%83%86%e3%83%ac%e3%83%bc%e3%82%bf&#34; aria-label=&#34;アンカー&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;span class=&#34;flex&#34; style=&#34;cursor: pointer;&#34;&gt;
  &lt;span class=&#34;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&#34;&gt;
    教科書 p.101（Lesson 5）
  &lt;/span&gt;
&lt;/span&gt;

&lt;p&gt;リストの要素を順に取り出す場合，&lt;code&gt;for&lt;/code&gt;文を用います．
以下の文で，&lt;code&gt;リスト&lt;/code&gt;の各要素を順番に取り出し，&lt;code&gt;変数&lt;/code&gt;に代入して&lt;code&gt;処理&lt;/code&gt;を行います．
このように順に処理できるような仕組みをイテラブル（iterable; 反復可能）と呼びます．
ほとんどのコレクションはイテラブルであり，同じように &lt;code&gt;for&lt;/code&gt; 文で処理できます．&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>第02講 週次課題</title>
      <link>https://ksupbpb.github.io/2025/lesson02/assignments/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson02/assignments/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;課題02-1 単語数の分布 
    &lt;div id=&#34;課題02-1-単語数の分布&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%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&#34; aria-label=&#34;アンカー&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;

&lt;div class=&#34;flex mt-2&#34;&gt;
  &lt;span
    class=&#34;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&#34;&gt;
    &lt;span class=&#34;flex flex-row items-center&#34;&gt;
      
        &lt;span class=&#34;mr-1&#34;&gt;&lt;span class=&#34;relative block icon&#34;&gt;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; viewBox=&#34;0 0 384 512&#34;&gt;&lt;path fill=&#34;currentColor&#34; d=&#34;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&#34;/&gt;&lt;/svg&gt;
&lt;/span&gt;&lt;/span&gt;
      
      &lt;span&gt;難易度 :star::star:&lt;/span&gt;
    &lt;/span&gt;
  &lt;/span&gt;
&lt;/div&gt;

&lt;p&gt;&lt;a
  href=&#34;../assets/alice_chapter01.txt&#34;&gt;&lt;code&gt;alice_chapter01.txt&lt;/code&gt;&lt;/a&gt; は，ルイス・キャロルの「&lt;a
  href=&#34;https://www.gutenberg.org/files/11/11-h/11-h.htm&#34;
    target=&#34;_blank&#34;
  &gt;不思議の国のアリス&lt;/a&gt;」の第01章のテキストファイルです．
このファイルの単語の頻度を求めてください．&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
