#!/usr/bin/python

bob = {'name': 'Bob Smith', 'age': 42, 'pay':30000, 'job': 'dev'}
sue = {'name': 'Sue Jones', 'age': 45, 'pay':45000, 'job': 'hdw'}

people = [bob, sue]

print('##'*20)
for person in people:
    print(person['name'])
    print(person['pay']*1.5)


asher = dict(name='asher li', age=34, pay=400000, job='engneer')
people.append(asher)
print('##'*20)
for person in people:
    print(person['name'])
    print(person['pay'])
    person['pay'] *= 1.20

print('**'*20)
for person in people:
    print(person['name'].split()[-1])
    print(person['pay'])


