<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tsumalog</author_name>
  <author_url>https://blog.hatena.ne.jp/tsumalog/</author_url>
  <blog_title>文系頭にcodeをつめて、</blog_title>
  <blog_url>https://tsumalog.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Codeprep python基礎 データ操作編 try-except : 例外処理ができるが、エラーの指定が必要 index: リスト内の要素を確認、確認したら位置を返す NameError: 定義されていない引数によるエラー list1 = [1,2,3] try: #index：特定の要素を確認したら位置を返す print(list1.index(1)) #0 print(list1.index(a)) #NameError = 定義されていない引数によるエラー except NameError: print(&quot;Name Error!!&quot;) ValueError: リストにない値によるエ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftsumalog.hatenablog.com%2Fentry%2F2018%2F08%2F18%2F000942&quot; title=&quot;【学習メモ】try-except, index, sort, NameError, ValueError - 文系頭にcodeをつめて、&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>2018-08-18 00:09:42</published>
  <title>【学習メモ】try-except, index, sort, NameError, ValueError</title>
  <type>rich</type>
  <url>https://tsumalog.hatenablog.com/entry/2018/08/18/000942</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
