#๐ help on understanding this question on my assignment
32 messages ยท Page 1 of 1 (latest)
@median timber
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.
Can you see the comment that says Test range(10, 20) here
yes
i have tried things like range = (10, 20) and tup = range(10,20)
after testing those that wasnt what it wanted
The bullet point tells you to make a tuple containing the values from the range
How would you do this
tup = (10,11,12,13,14,15,16,17,18,19,20) ??
so it should be wanting something like tup = range(10, 20)
or
tuple(range(10, 20))??
ding ding ๐
oh
Next comes step 2, passing the tuple with what they call tuple expansion
do i need to set this as a variable first??
yes, you'll need it for the next step
Great ๐
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.