Last active
August 29, 2015 14:22
-
-
Save tsuyoshicho/986d312056c0429782f8 to your computer and use it in GitHub Desktop.
お題「数字を使わずに、1から10まで和を、出力するコードを書いてください」 part 2
This file contains hidden or 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
#!env python | |
#-*- coding: utf-8 -*- | |
# see http://togetter.com/li/821309 | |
import sys | |
print sum(range(ord('L') - ord('A'))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment