CodeGym tells me all conditions are met, save "if light is red, print "red" "...
I'm pretty sure if (T+2) % 5 == 0 is yielding "yellow", then (T+1) % 5 == 0 should yield "red" no?
Thanks so much for your help!
Greg Martel
Level 5
Solving w/ Math.floor(): what did I do wrong?
Under discussion
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Spydrow
2 July 2022, 14:49
It has been a while, but which Level/Lesson is this? Hard to tell without seeing the actual problem.
0