On 15Oct2014 16:09, Dan Stromberg <[email protected]> wrote:
On Wed, Oct 15, 2014 at 3:50 PM, ryguy7272 <[email protected]> wrote:
#1) That's very bizarre to mix single quotes and double quotes in a single
language. Does Python actually mix single quotes and double quotes?
I'm not sure what you mean by "mix". C uses single quotes and double
quotes, right?
Yes, but it uses single quotes for characters (a single byte integer type) and
double quotes for strings. Python doesn't really have a single character type,
and lets the user use either quote mark as they see fit. Ryan finds this
unfamiliar.
Cheers,
Cameron Simpson <[email protected]>
BTW, don't bother flaming me. I can't read.
- [email protected] (Stephen Dennison)
--
https://mail.python.org/mailman/listinfo/python-list