Skip to content

Instantly share code, notes, and snippets.

@m3hari
Created November 27, 2014 15:12
Show Gist options
  • Save m3hari/2022de1f6ce465bd78f4 to your computer and use it in GitHub Desktop.
Save m3hari/2022de1f6ce465bd78f4 to your computer and use it in GitHub Desktop.

Revisions

  1. mehariShare created this gist Nov 27, 2014.
    5 changes: 5 additions & 0 deletions gistfile1.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    swap(x,y):
    x=x+y
    y=x-y
    x=x-y