<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>philojuan</author_name>
  <author_url>https://blog.hatena.ne.jp/philojuan/</author_url>
  <blog_title>恥は/dev/nullへ by 初心者</blog_title>
  <blog_url>https://uhoho.hatenablog.jp/</blog_url>
  <categories>
    <anon>Python学習</anon>
  </categories>
  <description>リストの要素数を調べる方法と、リストの要素を並び替える方法について学びました。 リストの要素数を調べる 要素の並び順を逆にする（上書き） リストをソートする ソート時の注意点 リストの要素数を調べる リストの要素数を調べるにはlen()関数を使います。 コード watches = ['lange', 'seiko', 'f.p.journe', 'patek', 'omega'] print(len(watches)) 実行結果 5 要素の並び順を逆にする（上書き） リストの並び順を逆にするにはreverseメソッドを使います。 なお、reverseメソッドはリストの並び順を「ただ逆にするだけ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuhoho.hatenablog.jp%2Fentry%2F2021%2F07%2F28%2F100029&quot; title=&quot;［Python］リストの要素数を調べる、要素を並び替える - 恥は/dev/nullへ by 初心者&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>2021-07-28 10:00:29</published>
  <title>［Python］リストの要素数を調べる、要素を並び替える</title>
  <type>rich</type>
  <url>https://uhoho.hatenablog.jp/entry/2021/07/28/100029</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
