+ 5

"Spamspam" and 'spamspam' are same or not?

28th Jun 2017, 4:07 PM
Priyanka
Priyanka - avatar
2 Answers
+ 1
No , they are not same because in first string the first letter is capital i.e 'S' and in 2nd the first letter is in small format i.e 's' Hope you like my answer. ^°_°^
28th Jun 2017, 4:14 PM
Robin sharma
Robin sharma - avatar
+ 3
If you meant to ask whether "spamspam" and 'spamspam' are different, where the difference is only between single and double quotes, then the answer is: no, they are completely the same. Python allows you to use both quoting styles to make it easier to use either quote inside strings surrounded by the other ones.
28th Jun 2017, 6:17 PM
Igor B
Igor B - avatar