回答編集履歴

1

例追加

2021/01/02 01:31

投稿

shiracamus
shiracamus

スコア5406

test CHANGED
@@ -24,6 +24,12 @@
24
24
 
25
25
  [['Hi japan ', 'こんにちは!!']]
26
26
 
27
+ >>> my_list = [*text.splitlines()]
28
+
29
+ >>> my_list
30
+
31
+ ['Hi japan ', 'こんにちは!!']
32
+
27
33
  >>> my_list = text.splitlines()
28
34
 
29
35
  >>> my_list