質問編集履歴

1

ご指摘ありがとうございます ソースコードを挿入という形で書き直しました

2019/10/12 00:24

投稿

17issosu
17issosu

スコア6

test CHANGED
File without changes
test CHANGED
@@ -12,11 +12,9 @@
12
12
 
13
13
  ### 該当のソースコード
14
14
 
15
- Python3 です
16
15
 
17
16
 
18
-
17
+ ```python3
19
-
20
18
 
21
19
 
22
20
 
@@ -46,27 +44,29 @@
46
44
 
47
45
 
48
46
 
49
- if NU==1: print(SU,"A")
47
+ if NU==1:
50
48
 
51
- elif NU==11: print(SU,"J")
49
+ print(SU,"A")
52
50
 
53
- elif NU==12: print(SU,"Q")
51
+ elif NU==11:
54
52
 
55
- elif NU==13: print(SU,"K")
53
+ print(SU,"J")
56
54
 
55
+ elif NU==12:
56
+
57
+ print(SU,"Q")
58
+
59
+ elif NU==13:
60
+
61
+ print(SU,"K")
62
+
63
+ else:
64
+
57
- else: print(SU,NU)
65
+ print(SU,NU)
58
66
 
59
67
 
60
68
 
61
69
 
62
-
63
-
64
-
65
-
66
-
67
-
68
-
69
-
70
70
 
71
71
  card1 = PlayingCard('♠',1)
72
72
 
@@ -76,7 +76,19 @@
76
76
 
77
77
  card4 = PlayingCard('♢',13)
78
78
 
79
- print(card1.output() + card2.output() + card3.output() + card4.output())
79
+ print(card1.output() , card2.output() , card3.output() , card4.output())
80
+
81
+
82
+
83
+
84
+
85
+ ```
86
+
87
+
88
+
89
+
90
+
91
+
80
92
 
81
93
 
82
94