Light Mode
Dark Mode
lightbulb endwatching task question (Python)

link: https://py.checkio.org/en/mission/lightbulb-end-watching/

I've written the code which passes the self-testing. However, it shows failed in the check solution with this message:

Fail:sum_light([ new Date(2015, 1, 12, 10, 0, 0), new Date(2015, 1, 12, 10, 10, 10), new Date(2015, 1, 12, 11, 0, 0), new Date(2015, 1, 12, 11, 10, 10) ])

I tried to copy the best solution, but it still shows the same failure. As I know, the 'new Date' is from js. So is it a bug? anyway to fix it?

Created: May 14, 2022, 3:56 p.m.
Updated: May 19, 2022, 7:11 a.m.
0
16
User avatar
cody2003