+ 9
This the version info:
Python version: ['3.7.6 (default, Feb 2 2020, 09:11:24) ', '[GCC 8.3.0]']
dist: ('debian', '10.2', '')
linux_distribution: ('debian', '10.2', '')
system: Linux
machine: x86_64
platform: Linux-4.15.0-1060-azure-x86_64-with-debian-10.2
But I suppose you have an other problem concerning playground. You have input() in a while loop. This can not be handeled by playground, so you have to enter all inputs in advance. Find more info here:
https://code.sololearn.com/c8pQgA9MTOj5/?ref=app
+ 4
Gurseerit
I think you are getting problem to take input.
You cannot take multiple input inside loop on Sololearn.
As I see your loop is not of fix Size. You can take only in case of fix Size.
+ 1
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 Code is okay but taking input is problem.
+ 1
Gurseerit Your loop should be of fix size like 5, 6, 7 then you can take multiple input with separte line.