Skip to content

Instantly share code, notes, and snippets.

@ami-GS
Created February 2, 2014 13:40
Show Gist options
  • Save ami-GS/8768548 to your computer and use it in GitHub Desktop.
Save ami-GS/8768548 to your computer and use it in GitHub Desktop.
Difference between python2.x and python3.x
print("abcd", end=" ")#print "abcd" ,#2
print("efgh")#print "efgh"
string = u'ぱいそん'
print(string)#エラー
string = 'ぱいそん'
print(string)#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment