# 9.6:  Write a function that takes two positional (required) arguments and one keyword (optional)
# argument.

# Define function get_field, which should take a required string argument, a required integer
# argument and an optional string argument (keyword 'sep', with default ','.
# 
# The function takes a CSV line and an integer index.  It splits the line on the separator and
# returns the field indicated by the integer -- see examples below.
# 
# If the optional arg is not passed, it should default to ','.

# your def here



v1 = get_field('hey:you:stop', 0, sep=':')   # 'hey'  (splits on the colon, then returns 1st item)

v2 = get_field('this,that,other', 1)         # 'that' (splits on the default comma, then returns 2nd item)

