回答編集履歴
3
追記
test
CHANGED
@@ -19,3 +19,17 @@
|
|
19
19
|
# em htiw traeh ruoy yrrac I
|
20
20
|
|
21
21
|
```
|
22
|
+
|
23
|
+
***
|
24
|
+
|
25
|
+
ちなみに、
|
26
|
+
|
27
|
+
```Python
|
28
|
+
|
29
|
+
poem = "I carry your heart with me"
|
30
|
+
|
31
|
+
print(poem[::-1])
|
32
|
+
|
33
|
+
# em htiw traeh ruoy yrrac I
|
34
|
+
|
35
|
+
```
|
2
追記
test
CHANGED
@@ -16,4 +16,6 @@
|
|
16
16
|
|
17
17
|
print(reverse(poem))
|
18
18
|
|
19
|
+
# em htiw traeh ruoy yrrac I
|
20
|
+
|
19
21
|
```
|
1
追記
test
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
`rev=str(poem)`としているからです。`rev=""`にすると、
|
2
|
+
|
1
3
|
```Python
|
2
4
|
|
3
5
|
def reverse(poem):
|