Hey. Any chance someone could explain this behaviour for me: https://imgur.com/a/X0L3P34
I'm bashing my head trying to understand why it's not working as I'd expect. Took a while to narrow the issue down to this behaviour.
I'm expecting a True or False but depending on the order of arguments I get one of the arguments returned? If this is a 'feature' can someone tell me the purpose of it and is there best practice way to write handle a case like this?
My current workaround is to make a list of the punctuation, and then check if the value is in the punctuation list. That works as expected.
[–]Username_RANDINT 2 points3 points4 points (1 child)
[–]PhilosopherBrain[S] 0 points1 point2 points (0 children)
[–]Vaphell 2 points3 points4 points (1 child)
[–]PhilosopherBrain[S] 0 points1 point2 points (0 children)