# -*- coding: utf-8 -*-
"""
Created on Mon Oct  8 11:19:54 2018

@author: gehui
"""

# alien_0 = {'color':'green','point':5}
#
# print(alien_0['color'])
# print(alien_0['point'])
#
# alien_0['x_position'] = 0
# alien_0['y_position'] = 25
# print(alien_0)
# alien_0['x_position'] = 2
# print(alien_0)
# print(len(alien_0))


# alien_0 = {'x_position':0,'y_position':25,'speed':'medium'}
#
# print("Original x-position:"+str(alien_0['x_position']))
#
# if alien_0['speed'] == 'slow':
#    alien_0['x_position'] = alien_0['x_position'] + 1
# elif alien_0['speed'] == 'medium':
#    alien_0['x_position'] = alien_0['x_position'] + 2
# else:
#    alien_0['x_position'] = alien_0['x_position'] + 3
#
# print('New x-position:'+str(alien_0['x_position']))


alien_0 = {'color': 'green', 'point': 5}
print(alien_0)

del alien_0['color']
print(alien_0)
