Can someone take a look at my code and tell me what's wrong? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can someone take a look at my code and tell me what's wrong?

https://ibb.co/gmx4RCh My code is fulfilling the requirements of a coding task in the Python course, but there still seem to be some sort of an issue. I tested it in VSCode and I can't see the problem.

8th Jan 2024, 5:37 PM
Jacob Morgunov
Jacob Morgunov - avatar
2 Answers
+ 3
Jacob Morgunov , Use range(a, b). The description is ambiguous, but you gotta figure they expect the vanilla usage, nothing fancy like adding 1 to include the second input.
8th Jan 2024, 6:02 PM
Rain
Rain - avatar
+ 1
Thanks!
8th Jan 2024, 6:12 PM
Jacob Morgunov
Jacob Morgunov - avatar