Skip to content

Instantly share code, notes, and snippets.

@hasayvaz
Created April 6, 2011 20:31
Show Gist options
  • Select an option

  • Save hasayvaz/906463 to your computer and use it in GitHub Desktop.

Select an option

Save hasayvaz/906463 to your computer and use it in GitHub Desktop.
verilen bir sayiyi ters ceviren program
#!/usr/bin/python
def cevir(a):
a = str(a)
i = -1
b = ""
while -i < len(a) + 1:
b += a[i]
i -= 1
print int(b)
cevir(12345)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment