<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Enumerate on プログラミング演習B</title>
    <link>https://ksupbpb.github.io/2025/tags/enumerate/</link>
    <description>Recent content in Enumerate on プログラミング演習B</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>ja</language>
    <copyright>© 2026 </copyright>
    <atom:link href="https://ksupbpb.github.io/2025/tags/enumerate/index.xml" rel="self" type="application/rss+xml" />
    
    <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>
    
  </channel>
</rss>
