0

Code playground isn't working again!!!

On multiple inputs, with .split(), it acquires only the first element of the list. Please, fix it

2nd Jun 2020, 3:36 AM
Mario Leofreddi
Mario Leofreddi - avatar
7 ответов
+ 4
I just tested it and it worked fine, maybe your code/input is wrong? My code: print(input().split()) My input: a b c d My output: ['a', 'b', 'c', 'd']
2nd Jun 2020, 4:34 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 ['1', '2', ....] as usual. Anyway, I code elsewhere.....nevermind. Thanks
2nd Jun 2020, 4:29 AM
Mario Leofreddi
Mario Leofreddi - avatar
0
I mean that on lst = input().split(), input is 1, 2, 3, 4.... on print(lst) it outputs ['1']
2nd Jun 2020, 3:59 AM
Mario Leofreddi
Mario Leofreddi - avatar
0
Aymane Boukrouh [EXAMS] Maybe a bug on my mobile. I try to reinitiate it. Thank you
2nd Jun 2020, 5:07 AM
Mario Leofreddi
Mario Leofreddi - avatar