回答編集履歴

2

Update

2022/06/05 03:46

投稿

melian
melian

スコア19865

test CHANGED
@@ -11,7 +11,7 @@
11
11
  def update(): pass
12
12
 
13
13
  def draw():
14
- global a, p
14
+ global a
15
15
  pyxel.cls(7)
16
16
  p = next(a)
17
17
  pyxel.circ(p, p, 10, 0)

1

Update

2022/06/05 03:41

投稿

melian
melian

スコア19865

test CHANGED
@@ -5,7 +5,6 @@
5
5
 
6
6
  N = 200
7
7
  a = cycle(chain(range(0, N, 1), range(N, -1, -1)))
8
- p = next(a)
9
8
 
10
9
  pyxel.init(N, N)
11
10