0
Why do we put dots in python
6 Respuestas
+ 3
Dots(.) are are a sign of method. A method is sub part of a function or module and is in the syntax.
For eg. Random.randint(5,9)
Here randint is the method
+ 2
Because dots will make the serpent kind looks a bit less scary? but I don't get it, Pythons has their own unique pattern, why dots? Idk ...
+ 1
It's syntax of python and why are you asking this. Are u tired of putting dots, then better leave programming.
+ 1
Varun Vaswani methods and properties: that's what I've said ^^
Anyway, thanks to you to provide an example ;)
+ 1
visph sorry I didn't notice your answer.
And welcome...for the ty
0
Why do we shouldn't? ;P
Joke free answer:
To access object properties and methods names ^^