#SHOWING FAILED TESTCASE

29 messages · Page 1 of 1 (latest)

steel pasture
#

this is the code that I have written and I am unable to understand that why I am getting this error
so pls if u know then help me out

rotund pawnBOT
#

This post has been reserved for your question.

Hey @steel pasture! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

hazy fog
#

what's the test cases?

steel pasture
#

I think that the test cases are passed

#

this is the main error that I am getting just read it once

hazy fog
#

Maybe the Debug My Code button can help

steel pasture
#

after clicking that button that window came whose screenshot I have shared

#

wait I will check if there are any other testcases

#

this is the other testcase

hazy fog
#

Is that the expected output or the actual output?

steel pasture
#

expected

hazy fog
#

now what's the actual output?

steel pasture
#

actual output is same as the expected output

hazy fog
#

and with the failing test case?

steel pasture
#

actually my all test case are getting passed but still my naswer is not getting submitted

steel pasture
hazy fog
#

it sais that one of the answers is wrong

steel pasture
#

but they have only provided 2 test cases and I think that rest are hidden

#

the one which are shown are getting executed

#

Actually I am not understanding the 3 lines which are given as error

hazy fog
#

well maybe one of the hidden test cases results in an error

steel pasture
#

oh what can I do

hazy fog
#

make sure you are exactly doing what the task expects you to do

#

maybe you confused a < with a <=

#

maybe something with the invalid inputs

steel pasture
#

okay