Print in Python | Sololearn: Learn to code for FREE!


Print in Python

#why do both these give the same output print("the CMBR\n\n []") print(("the CMBR\n\n []"))

4/10/2021 4:06:55 AM

Sanjay Kamath

5 Answers

New Answer


Python executes the inner parenthesis first,then the outer


Sanjay Kamath Paranthesis () just tell you that you are using method. Doens't matter how much time you write it. It will always give same output.


Because both are same


Change the sentence in anyone of them


You will find that