Lazy Crazy Coder's blog
Python functional "Hello" meme
This is another interpretation of Eric's task. This time in functional way, python incarnation.
import itertools, sys [sys.stdout.write('%s) Hello, %s\n' % tuple(reversed(item))) \ for item in itertools.izip( itertools.repeat(raw_input('Please enter your name: ')), xrange(int(raw_input('Please enter your age: '))))]
- 26 Ноя 12:49
