Differences between revisions 19 and 22 (spanning 3 versions)
Revision 19 as of 2018-10-10 12:53:11
Size: 7278
Comment:
Revision 22 as of 2018-10-10 15:40:41
Size: 7873
Comment:
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
  * 例題(2): 【関数定義】 n番目の[[https://ja.wikipedia.org/wiki/メルセンヌ数|メルセンヌ数]] (2の冪よりも 1 小さい自然数、すなわち 2n − 1)を返す[[Python/Lang/Function/Paramater/Contents|関数|target="_blank"]]   * 例題(2): 【関数定義】 n番目の[[https://ja.wikipedia.org/wiki/メルセンヌ数|メルセンヌ数]] (2の冪よりも 1 小さい自然数、すなわち 2n − 1)を返す[[Python/Lang/Function/Paramater/Contents|関数|target="_blank"]]
Line 68: Line 68:
 ||<|1>                     [[https://docs.python.jp/3/library/random.html|randomモジュール]]の<<BR>>seed()メソッドrandint()メソッドを利用する||  ||<|1> [[https://docs.python.jp/3/library/random.html|randomモジュール]]の<<BR>>[[https://docs.python.jp/3/library/random.html#random.seed|seed()]]メソッド,[[https://docs.python.jp/3/library/random.html#random.randint|randint()]]メソッドを利用する||
Line 73: Line 73:

## -----------------------------------------------------------------------------
=== 基本課題 ===
## -----------------------------------------------------------------------------

<<Include(Python/Prog/Practice/Basic/02/Contents)>>

## -----------------------------------------------------------------------------
=== 拡張課題 ===
## -----------------------------------------------------------------------------

<<Include(Python/Prog/Practice/Extended/02/Contents)>>


プログラムの説明

例題

基本課題

[ edit ]

拡張課題

[ edit ]

SoftEng: Pub/02/Program (last edited 2019-10-09 16:49:20 by TadashiIijima)