質問編集履歴
4
インデント変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -70,4 +70,6 @@
|
|
70
70
|
|
71
71
|
|
72
72
|
|
73
|
-
pygame.quit()
|
73
|
+
pygame.quit()
|
74
|
+
|
75
|
+
```
|
3
インデント変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -48,19 +48,21 @@
|
|
48
48
|
|
49
49
|
for i in range(1,1000,100):
|
50
50
|
|
51
|
-
|
51
|
+
|
52
52
|
|
53
|
-
pygame.d
|
53
|
+
pygame.draw.polygon(screen, BLACK, [[100+i,50], [150+i,50], [150+i,450],[100+i,450]], 0)
|
54
54
|
|
55
|
-
|
55
|
+
pygame.display.flip()
|
56
56
|
|
57
|
-
|
57
|
+
for j in range(10000):
|
58
58
|
|
59
|
-
|
59
|
+
screen.fill(WHITE)
|
60
60
|
|
61
|
-
pygame.d
|
61
|
+
pygame.draw.rect(screen, RED, [rect_x, rect_y,100,50])
|
62
62
|
|
63
|
+
pygame.display.flip()
|
64
|
+
|
63
|
-
rect_x += rect_change_x
|
65
|
+
rect_x += rect_change_x
|
64
66
|
|
65
67
|
pygame.display.flip()
|
66
68
|
|
@@ -68,6 +70,4 @@
|
|
68
70
|
|
69
71
|
|
70
72
|
|
71
|
-
pygame.quit()
|
73
|
+
pygame.quit()```
|
72
|
-
|
73
|
-
```
|
2
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,9 +12,7 @@
|
|
12
12
|
|
13
13
|
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
```
|
15
|
+
```python
|
18
16
|
|
19
17
|
import pygame
|
20
18
|
|
@@ -72,6 +70,4 @@
|
|
72
70
|
|
73
71
|
pygame.quit()
|
74
72
|
|
75
|
-
|
76
|
-
|
77
73
|
```
|
1
test
CHANGED
File without changes
|
test
CHANGED
@@ -13,6 +13,8 @@
|
|
13
13
|
|
14
14
|
|
15
15
|
|
16
|
+
|
17
|
+
```ここに言語を入力
|
16
18
|
|
17
19
|
import pygame
|
18
20
|
|
@@ -69,3 +71,7 @@
|
|
69
71
|
|
70
72
|
|
71
73
|
pygame.quit()
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
```
|