質問編集履歴

2

誤字

2019/08/10 13:04

投稿

liner
liner

スコア22

test CHANGED
File without changes
test CHANGED
@@ -56,7 +56,7 @@
56
56
 
57
57
 
58
58
 
59
- btn = tkinter.Button(tki, text='計算', command=**btn_click()**)
59
+ btn = tkinter.Button(tki, text='計算', command=btn_click())
60
60
 
61
61
  btn.place(x=140, y=170)
62
62
 
@@ -92,7 +92,7 @@
92
92
 
93
93
 
94
94
 
95
- btn = tkinter.Button(tki, text='計算', command=**btn_click**)
95
+ btn = tkinter.Button(tki, text='計算', command=btn_click)
96
96
 
97
97
  btn.place(x=140, y=170)
98
98
 

1

コードブロックに挿入

2019/08/10 13:03

投稿

liner
liner

スコア22

test CHANGED
File without changes
test CHANGED
@@ -34,11 +34,9 @@
34
34
 
35
35
  プログラムの挙動は、GUI上でボタンを押すと「test」と表示されます。
36
36
 
37
-
37
+ ```ここに言語を入力
38
38
 
39
39
  □プログラムA
40
-
41
-
42
40
 
43
41
  import tkinter
44
42
 
@@ -66,7 +64,11 @@
66
64
 
67
65
  tki.mainloop()
68
66
 
67
+ ```
69
68
 
69
+
70
+
71
+ ```ここに言語を入力
70
72
 
71
73
  ■プログラムB
72
74
 
@@ -90,10 +92,12 @@
90
92
 
91
93
 
92
94
 
93
- btn = tkinter.Button(tki, text='計算', command=**btn_click()**)
95
+ btn = tkinter.Button(tki, text='計算', command=**btn_click**)
94
96
 
95
97
  btn.place(x=140, y=170)
96
98
 
97
99
 
98
100
 
99
101
  tki.mainloop()
102
+
103
+ ```