#๐ Homework Help
43 messages ยท Page 1 of 1 (latest)
@atomic trellis
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.
Click here to see this code in our pastebin.
!paste
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.

that or
code isn't too long everythings there that I have
!code
it is already pasted, both files
next is a built-in function, I'd suggest renaming yours.
Other than that, not looking too far into it at the moment.
next?
!d next
next(iterator)``````py
next(iterator, default)```
Retrieve the next item from the [iterator](https://docs.python.org/3/glossary.html#term-iterator) by calling its [`__next__()`](https://docs.python.org/3/library/stdtypes.html#iterator.__next__) method. If *default* is given, it is returned if the iterator is exhausted, otherwise [`StopIteration`](https://docs.python.org/3/library/exceptions.html#StopIteration) is raised.
Yep
You have a def next
Did you write this code yourself?
You may want to spend time reading it, then. Instead of asking others to do it.
Im asking for help because im confused as hell
I don't really understand what Im reading because this class im taking is insanely confusing for me
which is why Im asking for help since I don't really understand it
please.
Where is this code from, then?
Read the first line of the assignment
You said you didn't write the code; who did?
I'm not OP. I just found the answer to your question on the first line of the assignment
here
Have you done this bit: "Download stream.py from Brightspace."
Please close the thread by typing !close then.
!close
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.
