5th Oct 2018, 10:17 AM
Dharmesh Kale
Dharmesh Kale - avatar
5 Réponses
+ 6
Dhamesh, I think your problem is probably on lines 4, 7, and 10 where the programme takes input. I would guess that the code playground does not recognise the use of sys.stdin. You might try changing the code between the brackets so, for instance, line 4 would end float(input ()). Hope this helps.
5th Oct 2018, 10:46 AM
Richard Myatt
Richard Myatt - avatar
+ 3
Dharmesh Kale sololearn playground does not support input from sys module.
5th Oct 2018, 4:10 PM
Maninder $ingh
Maninder $ingh - avatar
+ 3
Dhamesh, the answer given by Maninder is probably correct. As for pydroid3 I cannot offer any help/comment. It is not something I have used. Wishing you all the best.
5th Oct 2018, 4:54 PM
Richard Myatt
Richard Myatt - avatar
+ 2
Richard, your input method work in sololearn but not in pydroid3 ,can you tell me why sys.stdin not work in sololearn and also in pydroid3, if you know..??
5th Oct 2018, 1:27 PM
Dharmesh Kale
Dharmesh Kale - avatar
+ 1
cuz u cow
5th Oct 2018, 10:47 PM
John-Allan