Permalink
Switch branches/tags
Nothing to show
Find file Copy path
65d4da6 May 15, 2015
1 contributor

Users who have contributed to this file

executable file 13 lines (9 sloc) 331 Bytes
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
print([x * x for x in range(1, 11)])
print([x * x for x in range(1, 11) if x % 2 == 0])
print([m + n for m in 'ABC' for n in 'XYZ'])
d = {'x': 'A', 'y': 'B', 'z': 'C' }
print([k + '=' + v for k, v in d.items()])
L = ['Hello', 'World', 'IBM', 'Apple']
print([s.lower() for s in L])