teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

2020/05/07 04:25

投稿

nugio.kutusita
nugio.kutusita

スコア21

title CHANGED
File without changes
body CHANGED
@@ -9,7 +9,7 @@
9
9
  何かわかりますでしょうか。
10
10
 
11
11
  ### 発生している問題・エラーメッセージ
12
- ```html
12
+ ```python
13
13
  pygame 1.9.6
14
14
  Hello from the pygame community. https://www.pygame.org/contribute.html
15
15
  ---------------------------------------------------------------------------
@@ -39,7 +39,7 @@
39
39
  ### コード
40
40
 
41
41
  __main__で呼び出す部分↓
42
- ```html
42
+ ```python
43
43
  frog_path = "C:\Users\PC\Documents\python\game\sozai\bubbleflog.png"
44
44
  path = frog_path
45
45
  speed = 1
@@ -48,7 +48,7 @@
48
48
  ```
49
49
 
50
50
  クラス定義の部分↓
51
- ```html
51
+ ```python
52
52
  class Target(pygame.sprite.Sprite):
53
53
  (x,y) = (40,50)
54
54
  targetcount = 0