+ 2
Why print("hello") and print((("hello"))) are The SAME? [Is there No Difference?]
2 ответов
+ 3
Unless a function is involved, parentheses are used to make code more readable.meaning they have no special interpretation
So print("Hello") and print((((("Hello "))))) are both interpreted as plain print("Hello")
+ 3
In this particular case I would say the parentheses make the code more unreadable and has no effect.