#
# put the string ' ' in between each of the words
words = ['ball','of','and']
z = ' '.join(words)
w = ','.join(words)

ww = z.split(' ') # split back into words

for letter in z:
  print(letter)

for i in range(len(z)):
  print(i, z[i])

D = {'name': 'Jeff', 'age': 'old', 'height': 189}


def print_person(D):
  print('Name:   ', D['name'])
  print('Age:    ', D['age'])
  print('Height: ', D['height'], 'cm')

print_person(D)

for k in D:
  print(k, D[k])

