RosettaCodeData/Task/Literals-String/Python/literals-string-1.py

8 lines
112 B
Python

'c' == "c" # character
'text' == "text"
' " '
" ' "
'\x20' == ' '
u'unicode string'
u'\u05d0' # unicode literal