<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>coffee_kabu</author_name>
  <author_url>https://blog.hatena.ne.jp/coffee_kabu/</author_url>
  <blog_title>Bus errorとSegmentation faultに困ったら見るブログ</blog_title>
  <blog_url>https://coffee-guhaw.hateblo.jp/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>一様乱数 from numpy.random import * rand() #0~1の範囲の一様乱数を1個作る rand(10) #0~1の範囲の一様乱数を10個作る 正規分布に従う乱数を作る from numpy.random import * randn() #平均0, 標準偏差1の正規分布に従う乱数を1個作る randn(10) #平均0, 標準偏差1の正規分布に従う乱数を10個作る# 平均と標準偏差を変えたい場合は、normalを使う normal(5, 2) # 平均5, 標準偏差2の正規分布に従う乱数 randint(100) で0~99の整数を1個作れるrandint(0, 1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcoffee-guhaw.hateblo.jp%2Fentry%2F2025%2F07%2F17%2F000000&quot; title=&quot;【python3】乱数を使いたい - Bus errorとSegmentation faultに困ったら見るブログ&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>2025-07-17 00:00:00</published>
  <title>【python3】乱数を使いたい</title>
  <type>rich</type>
  <url>https://coffee-guhaw.hateblo.jp/entry/2025/07/17/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
