Last active
November 20, 2015 09:40
-
-
Save nutszebra/d8289f0467aed934f93e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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