質問編集履歴

1

<code>で設定しました

2022/01/15 05:22

投稿

nononono1
nononono1

スコア4

test CHANGED
File without changes
test CHANGED
@@ -6,6 +6,7 @@
6
6
 
7
7
 
8
8
  現在の全ソース
9
+ ```ここに言語を入力
9
10
  import numpy as np
10
11
 
11
12
  N= 2 # dimension
@@ -71,4 +72,5 @@
71
72
  pso.update()
72
73
  pso.pbest_update()
73
74
  pso.gbest_update()
74
- print(str(t)+ ", " +str(pso.report_bestfit()))
75
+ print(str(t)+ ", " +str(pso.report_bestfit()))コード
76
+ ```