Skip to content

Instantly share code, notes, and snippets.

@nutszebra
Last active November 20, 2015 09:40
Show Gist options
  • Save nutszebra/d8289f0467aed934f93e to your computer and use it in GitHub Desktop.
Save nutszebra/d8289f0467aed934f93e to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#Link: http://www.cl.ecei.tohoku.ac.jp/nlp100/
"""
Question 00:
00. 文字列の逆順
文字列"stressed"の文字を逆に(末尾から先頭に向かって)並べた文字列を得よ.
"""
word = "stressed"
print(word[::-1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment