<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xxUFOxx</author_name>
  <author_url>https://blog.hatena.ne.jp/xxUFOxx/</author_url>
  <blog_title>Startup Data scientist Blog</blog_title>
  <blog_url>https://xxstartupxxengineerxx.hateblo.jp/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>Forループを使用して最大値と最小値、合計値と平均値を出力するアルゴリズムを作る。 List = [180, 170, 160, 165, 175] まず、最大値と最小値、そして合計値の変数をループ前に定義し、ループを回すたびにその値を更新していく。 list = [180, 170, 160, 165, 175] max = list[0] min = list[0] total = 0 for i in range(1, len(list)): if max &lt; list[i]: max = list[i] print(max) for i in range(1, len(list)): …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxxstartupxxengineerxx.hateblo.jp%2Fentry%2F2022%2F10%2F12%2F094932&quot; title=&quot;python For ループを使って最大値、最小値、合計値、平均値を求めていく - Startup Data scientist Blog&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>2022-10-12 09:49:32</published>
  <title>python For ループを使って最大値、最小値、合計値、平均値を求めていく</title>
  <type>rich</type>
  <url>https://xxstartupxxengineerxx.hateblo.jp/entry/2022/10/12/094932</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
