+ 1
nothing. In Python they both do the same thing as far as writing a simple string, although one will allow the print function to contain a " " inside of it. name='Yuki' name="Yuki" Those are both the same. To print a statement that contains a quote mark, you can use the other type inside of your string. print('I am "The Greatest" in the world') This would output: I am "The Greatest" in the world That said, this is a Python thing. When you move on to other languages, ' ' is used for Chars and " " is used for strings. as such it is a good habit to get into. Stick to " " for your strings
19th Feb 2018, 7:22 PM
LordHill
LordHill - avatar