Skip to content

Instantly share code, notes, and snippets.

@chendi0x7C00
Created November 12, 2016 14:03
Show Gist options
  • Save chendi0x7C00/af4b9b2188d2972ff4d46a7d1868e813 to your computer and use it in GitHub Desktop.
Save chendi0x7C00/af4b9b2188d2972ff4d46a7d1868e813 to your computer and use it in GitHub Desktop.
# coding=UTF-8
i = 1
++i # <==> +(+i), no ++ operator in Python
assert i == 2 # AssertionError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment