Skip to content

Instantly share code, notes, and snippets.

@tsuyoshicho
Last active August 29, 2015 14:22
Show Gist options
  • Save tsuyoshicho/986d312056c0429782f8 to your computer and use it in GitHub Desktop.
Save tsuyoshicho/986d312056c0429782f8 to your computer and use it in GitHub Desktop.
お題「数字を使わずに、1から10まで和を、出力するコードを書いてください」 part 2
#!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