#๐ Please help
50 messages ยท Page 1 of 1 (latest)
@shadow furnace
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
300 lines of code with no explanation of what you are trying to do or expected outcome. Not even a description of the error.
thats all the testcase gave me man, im just as confused, but ur right i will put in the task details, I doubt anyone is going to read through it though
I aint reading all that
im not sure bc i never used test cases yet but it looks like you have an extra newline at the start of the code or something
which code?
the one that runs. i didnt read it yet
it may be part of your modules
point is you get an empty line for no reason it seems like
yea so its supposed to apparently output
>move from...
but it is instead outputting:
> > move from...
whats the input?
oh that means you miss an enter instead
the input would be moveto 1 1
the first > comes from the input I'm pretty sure
yea so this is actually how it looks, im super confused by the testcase since the output doesnt actually have "> "\
only the input
Can you show both the "your output" and "expected" tabs?
did the input have a leading enter or something?
but if you check the code it should be printing invalid command for the empty string or im blind
true...
it feels like the input is triggered twice but why would it do that
was that said in the task details? im trying to scan for that aswell
or are u just saying thats what the code's doing
thats what i would guess the code is doing but idk why
yea the code is printing invalid command when an empty string is entered
i just assumed it should
so i tried that but the testcase is still failing
Do they give you the input used to test it?
nope :(
they do give 3 examples tho
i will send them in
but these arent related to that testcase
only one testcase fails like this?
yep
as in, there are other testcases which it passes without issues?
yes all 7 other testcases pass
huh
at this point I would contact the instructor tbh
yea might just do that...
@torpid basin hey i found the inputs for the testcase
okay so apparently its supposed to output an empty line if display journey is inputed before any entry
oof
Ah
how do i close this threaad
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.