+ 4
What is parentheses in python and what is the use of parentheses?
3 odpowiedzi
+ 4
parenthesis ()
they are used in receiving function arguments...in tuples and several other areas
+ 4
Square brackets are lists while parentheses are tuples. They are not lists, they are frequently used to enclose arguments to functions and methods. In languages such as Lisp, parentheses are used to define an s-expression. In regular expressions, parentheses are used for pattern grouping and capturing.
+ 4
Hello, Aditya Mishra !
Parentheses can be passed arguments for functions, example(arg1, arg2, arg3).