Quote (Karan2_Returned @ Sep 10 2016 10:34am)
Ez biztos igy van? PHP-ban is müködik mindkettö, de attol függöen hogy milyen függvennyel es argumentumokkal hasznalod van minimalis különbseg a kettö gyorsasaga között.
Both are equal and what you use is entirely your preference.
As far as the char vs string thing is concerned, refer to the Zen of Python, (PEP 20 or import this)
Special cases aren't special enough to break the rules.
A string of length 1 is not special enough to have a dedicated char type.
Note that you can do:
>>> print 'Double" quote inside single'
Double" quote inside single
>>> print "Single' quote inside double"
Single' quote inside double