Why does the Python console returns single quotes for string literals for all types of quote delimeters?
>> '1'
'1'
>> "1"
'1'
>>"""1"""
'1'
Why does the Python console returns single quotes for string literals for all types of quote delimeters?
>> '1'
'1'
>> "1"
'1'
>>"""1"""
'1'
Python makes it convenient for itself to handle objects in a simple manner. If you really need an explicit way of memorizing quotes use literal quote characters.
>>> "\"\"Look, I'm around two qoutes!!!\"\""
'""Look, I\'m around two double qoutes!!!""'