#๐Ÿ”’ I wrote this program all by myself. Do you think I am now atleast somewhat good at programming ?

13 messages ยท Page 1 of 1 (latest)

lament shoalBOT
#

@slate island

Python help channel opened

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.

flat pagoda
#

I think this is a good start but you might still be a few iterations away from django

#

Like, how about classes? Django uses those extensively

flat pagoda
#

The logic is... Alrightish. It definitely could be better but it's not awful

slate island
flat pagoda
#

Well the logic of passing in lists and then using copy on the list to avoid mutating it makes the logic harder to read than it needs to be. It also potentially will slow the processing down significantly for a larger list

slate island
flat pagoda
#

Well you could pass in the input string and build the list in the function. It's not like you're using the list outside of the function

#

You also could have made this a CLI app instead of prompting for input.

slate island
lament shoalBOT
#
Python help channel closed

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.