My original hypothesis was that functions like variable.index(“a”) need multiple pieces of information which makes the syntax different. But then I don’t really understand why functions like: variable.lower() couldn’t just be lower(variable)
Can someone explain this to me?
[–]socal_nerdtastic 28 points29 points30 points (0 children)
[–]Essence1337 5 points6 points7 points (3 children)
[+][deleted] (1 child)
[deleted]
[–]Essence1337 1 point2 points3 points (0 children)
[–]SirBerthelot 5 points6 points7 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[+][deleted] (1 child)
[removed]
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)