In [1]:
for i in xrange(1, 20):
if i % 3 == 0 and i % 5 == 0:
print "FizzBuzz"
elif i % 3 == 0:
print "Fizz"
elif i % 5 == 0:
print "Buzz"
else:
print i
In [2]:
print 'Hello, world!'
In [3]:
xs = [i*3 for i in range(10)]
print xs