What if we used double quotes for the string for
name
, instead of single quotes? What is the output of the Python code below?
1 2 3 4 5 6 |
|
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Double Quotes just makes adding single quotes in the string possible eg: "Hey how are you 'Saloni'." o/p = Hey how are you 'Saloni'. But since we don't add any single quote its printed as is