Answer the question
In order to leave comments, you need to log in
How to add arguments in brackets?
Hello.
I saw something like this entry
import serverSocket
server = serverSocket.TCPserver(("", 8000), handler...)
When is such an entry in brackets used as a separate argument and how is it created in the class that two arguments will be accepted, like one separate?
Is it possible, with an example, please.
Answer the question
In order to leave comments, you need to log in
This is called a tuple . Usually this data type is described in the very first chapter of any textbook.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question