Parentheses meaning please? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Parentheses meaning please?

27th Jun 2019, 2:12 AM
Karma Trasar
Karma Trasar - avatar
7 Answers
+ 10
Simply, brackets
27th Jun 2019, 3:10 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 6
There is no specific reason or meaning of parenthesis in python or even in other programming languages. It is same as asking about "what is the meaning of colon(:)? " in python or something like that. There are numerous ways in which it can be used. Basically, it will appear in class inheritance, defining a function, making a special operation to evaluate first, etc.......
27th Jun 2019, 2:30 PM
Ayush Sinha
Ayush Sinha - avatar
+ 6
Parentheses means ( ) ( is an opening Parentheses and ) is a closing Parentheses.
28th Jun 2019, 7:20 AM
Rohit Kh
Rohit Kh - avatar
+ 3
Parentheses is just like a container for any function which contains parameters and when calling function takes arguments and many more etc.don't be confuse it just coding style and these are just brackets.
27th Jun 2019, 5:14 AM
Maninder $ingh
Maninder $ingh - avatar
+ 3
Parentheses in Python have atleast 5 meanings. Parentheses can be used to: Change operation precedence, Create tuples, Define functions, Call functions, Create class inheritions.
27th Jun 2019, 11:08 AM
Seb TheS
Seb TheS - avatar
+ 2
At books Parentheses meaning a operator() to call a function or a method - for oop
1st Jul 2019, 11:24 AM
dnl@pc🇧🇷
dnl@pc🇧🇷 - avatar
0
Simply,() bracket where u pass in the parameter and arguements.
21st Nov 2019, 10:28 AM
Sunshine Kharnaior
Sunshine Kharnaior - avatar