Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Python 2
- >>> print 'αβγ'.upper()
- αβγ
- >>> print u'αβγ'.upper()
- ΑΒΓ
- Python 3
- >>> print('αβγ'.upper())
- ΑΒΓ
- >>> print(b'αβγ'.upper())
- File "<stdin>", line 1
- SyntaxError: bytes can only contain ASCII literal characters.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement