<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>owiewowe</author_name>
  <author_url>https://blog.hatena.ne.jp/owiewowe/</author_url>
  <blog_title>19日に更新してた</blog_title>
  <blog_url>https://owiewowe.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>内包表記多め。 数値の桁数を上げても表記をできるだけ同じようにしようとすると、文字列操作するのが一番楽そうだったので文字列操作を使っております。 listに含まれる数値が0,1の場合 1が何回連続するか知りたい場合 0が何回連続するか知りたい場合 listに含まれる数字が10未満の場合 特定値が何回連続するかを知りたい場合 数値は関係なく連続している回数を知りたい場合 listに含まれる数値が自然数である場合 特定値が何回連続するかを知りたい場合 数値は関係なく連続している回数を知りたい場合 listに含まれる数値が0,1の場合 1が何回連続するか知りたい場合 import random a=…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fowiewowe.hatenablog.com%2Fentry%2F2023%2F06%2F19%2F000000_1&quot; title=&quot;python で list 中の連続する同じ数値の連続する回数を得る - 19日に更新してた&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>2023-06-19 00:00:00</published>
  <title>python で list 中の連続する同じ数値の連続する回数を得る</title>
  <type>rich</type>
  <url>https://owiewowe.hatenablog.com/entry/2023/06/19/000000_1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
