#๐ Code runs but output does not match expected result
28 messages ยท Page 1 of 1 (latest)
@dim flicker
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.
!paste the code
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
I have the code in paste.bin but how to send here?
Paste the link
Yup, that worked. Now, explain your problem?
(this is a lot of code, so try to narrow it down)
So this code runs and the output is pretty close to my expected output, but there are some differences
I am missing a few lines too it seems but i can't pick up any errors on my end cause not only is there not enough info to go on, i can't veru fy what i am doing wrong either
My course instructor is an ass, everyone in the class is struggling particularly cause we don't even know what we're doing weong anymore
Any idea?
Show what you're missing, it's hard to understand without seeing specifics.
Here
Is my issue in heapbubbling ?
that's too many text that should be in separate files... for easy debugging.. ever heard of OOP?
No, sorry. Just coding in Colab. and no isn't taking help from gemini either
Are you there?
Looking at the first few lines... your output is almost correct except it's missing the red lines. Do you know what the red lines represent?
Stock market commands no?
Yes, and they're missing from your output. Fix that first. Start with the first missing line: 40
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, 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.