#!/usr/bin/python

counter = 100
miles = 1000.0
name = "John"

print counter
print miles
print name

str = 'Hello World!'

print str
print str[0]
print str[2:5]
print str[2:]
print str * 2
print str + "TEST"

list = [ 'abcd', 786, 2.23, 'john', 70.2 ]
tinylist = [123, 'john' ]

print list
print list[0]
print list[1:3]
print list[2:]
print tinylist * 2
print list + tinylist

tuple = ( 'abcd', 786, 2.23, 'john', 250 )
tinytuple = ( 123, 'join' )

print tuple
print tuple[0]
print tuple[1:3]
print tuple[2:]
print tinytuple * 2
print tuple + tinytuple

dict = {}
dict['one'] = "This is one"
dict[2] = "This is two"

tinydict = {'name': 'john', 'code': 6734, 'dept': 'sales'}
print dict['one']
print dict[2]
print tinydict
print tinydict.keys()
print tinydict.values()
