0
0

More than 1 year has passed since last update.

paizaラーニング「文字列の配列の入力 2 Python3編」

Posted at

私の解答

li = [x for x in input().split()]
for ele in li:
    print(ele)

解答例

S = [""] * 10
values = input().split()
for i in range(10):
    S[i] = values[i]

for s in S:
    print(s)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0