+ 1

Can anyone tell me why Time before and after execution is same?

2nd code on my wall https://code.sololearn.com/cOBZxhrJX41E/?ref=app

24th Aug 2017, 9:41 PM
Haris Khan JEE AIR 1224
Haris Khan JEE AIR 1224 - avatar
3 Respuestas
+ 4
I think its because of the way SoloLearn compiles the code, it works fine in the python IDLE that I used.
24th Aug 2017, 10:44 PM
Enzo
Enzo - avatar
+ 4
Cause the program is compiled in less than a second. Maybe if you put an input and wait some time might change, but won't work in SL cause it asks for input at the begining of the program. You should try in the python IDLE.
24th Aug 2017, 10:20 PM
JRE
JRE - avatar
- 1
put the first print time at the begining of the code, before the file open and see the difference
24th Aug 2017, 10:19 PM
Lahmadi Mohamed
Lahmadi Mohamed - avatar