乱数を生成するPythonプログラム

Pythonで乱数を生成するには、 randint() 関数が使用されます。 この関数はで定義されています ランダムモジュール。 ソースコード # Program to generate a random number between 0…