Just wondering why Python syntax for lowercase is say, WORD.lower yet maths functions are len(WORD) not WORD.len ?
len() is a built in function, and
.lower is a method for string objects.
I can get in more detail about this, but this would require the explanation of classes and how this implanted in python, and why python actually doesn't have variable deceleration but rather variable naming.
I recommend to continue the course first, you can come back to this later
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.