回答編集履歴

1

indent 修正

2020/04/03 07:30

投稿

teamikl
teamikl

スコア8664

test CHANGED
@@ -62,21 +62,21 @@
62
62
 
63
63
  def onrelease(e):
64
64
 
65
- print("penup")
65
+ print("penup")
66
-
66
+
67
- s.cv.unbind("<Motion>")
67
+ s.cv.unbind("<Motion>")
68
-
68
+
69
- s.cv.unbind("<ButtonRelease-1>")
69
+ s.cv.unbind("<ButtonRelease-1>")
70
70
 
71
71
 
72
72
 
73
73
  def onpress(e):
74
74
 
75
- print("pendown {} {}".format(e.x, e.y))
75
+ print("pendown {} {}".format(e.x, e.y))
76
-
76
+
77
- s.cv.bind("<Motion>", onmotion)
77
+ s.cv.bind("<Motion>", onmotion)
78
-
78
+
79
- s.cv.bind("<ButtonRelease-1>", onrelease)
79
+ s.cv.bind("<ButtonRelease-1>", onrelease)
80
80
 
81
81
 
82
82