Challenges • Asked 8 months ago by Kaitlin
Can you tell me what's wrong here?
My solution isn't running in the AlgoDaily IDE. The error says: "No Output."
However, the seems to return the correct result when I run it in Python on my Terminal.
Screenshot from Algo Daily: https://ibb.co/r4T39fp
Screenshot of my Terminal: https://ibb.co/Z26S66y
EDIT 1: Realizing that trying to add images with markdown that were uploaded to ImgBB doesn't actually work on this forum, so displaying screenshots inside this post is impossible... 🐛🐞 Here are the links to click on to see the images hosted on ImgBB.
EDIT 2: Realizing that markdown for including links ALSO doesn't work on this forum. 🐞🐛 So, copy-pasting the links would be necessary to view these images.
Hmm...maybe fixing the forum so that Markdown is enabled, or removing the toolbar and illusion that this feature is possible, would be a first priority over fixing the incorrect Python solution code and broken Python IDE. I don't know.
In your screenshot, it appears you're not actually invoking or logging the function.
You need to actually call
intersection(first, second) and then actually print it, something like:
We'll update that screen to make it more clear!
Ah thanks for that, Jake! Really silly mistake on my part. Appreciate your response!
This is useful information !