I often use a loop to search for something, and use "break" to break out of the loop when it is found. Then "else" means it was not found, which kind of makes sense to me.
That antigravity thing reminded me of a video I just watched about MS Office macro viruses. Who thought it was a good idea to give a programming language the ability to open a browser window?
Why is it that all programming teachers I know are calmest most chill and nice people yet they casually drop the darkest type of humour or life truths :D
Thank you I really am beginning to appreciate material that is more focused on thinking, and Python. I’ve learned a lot from tutorials, but for the most part, I am only able to apply what I have copied and limited situation versus having an understanding and being able to create.
I remember seeing a reflex match phase that is over 200 characters long to be able to match 99.999% of email addresses due to the sheer complexity of getting all permutations of emails
Regex is less painful than type annotations. :P By the way, a regex pattern using [A-Za-z0-9_] is just [\w]. I am also wondering who ever needs to reverse a string, is there a use case for it?
Python checklist 1. Readability 2. Performance/Space I try to avoid things like lambda functions or other “pythonic” things for minimal time improvements in in industry code 😅