what will be the o output of print (11 + 3) and print ('11' + '3' )
Answers
Answered by
0
Answer:
"print " is - as we have already mentioned - a function in version 3.x.Like any other function print expects it's arguments to be surrounded
Answered by
2
The output will be "14" and "113".
- Since the value in the function is not enclosed in double inverted commas, therefore its output will be the value of 11+3 which is 14.
- While in the other case where the two numbers are enclosed in double inverted commas, therefore they will be printed as they are and since the double inverted commas do not have any space between them therefore the output will be without ay space i.e. 113.
Similar questions