Skip to content

Instantly share code, notes, and snippets.

@foxinni
Created March 5, 2018 06:29
Show Gist options
  • Save foxinni/daf017a2317016668dc44e9140bff782 to your computer and use it in GitHub Desktop.
Save foxinni/daf017a2317016668dc44e9140bff782 to your computer and use it in GitHub Desktop.
r = reversed(s)
for i in r:
print(i, end='')
for i in r:
print(i, end='')
# Second loop not printing?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment