Answer:
The complete function is as follows:
def get_nth_int_from_CSV(CSV_string, index):
splitstring = CSV_string.split(",")
print(int(splitstring[index]))
Step-by-step explanation:
This defines the function
def get_nth_int_from_CSV(CSV_string, index):
This splits the string by comma (,)
splitstring = CSV_string.split(",")
This gets the string at the index position, converts it to an integer and print the converted integer
print(int(splitstring[index]))