I have a python list that I need to iterate through to get the additional consecutive element.
data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
I need to turn this into a string that reads like…
data_string = "1, 3, 6, 10"
I’m new to python and having trouble. Any ideas?