+ 1

Difference between ' and "

What is the difference between ' and " within 'print' in Python

19th Apr 2017, 4:09 PM
RAJESH SINHA
RAJESH SINHA - avatar
3 Antworten
+ 28
They're bot the same. But " can be useful in conditions where there is ' in your sentence print("Cookie's")
19th Apr 2017, 4:20 PM
Frost
Frost - avatar
+ 1
got it...thanks
19th Apr 2017, 4:22 PM
RAJESH SINHA
RAJESH SINHA - avatar
0
both r same in use but for string but for charter only ' like 'a'
27th Apr 2017, 3:43 AM
SHANU DEY
SHANU DEY - avatar