Light Mode
Dark Mode
Thinking C + +
index, str = 0, ""
count = len(line)
while index < count:
    str += line[index]

    if line[index] == '-':
        while (index < count) and (line[index] == '-'):
            index += 1
    else:
        index += 1
Created: Dec. 17, 2013, 11:52 a.m.
Updated: Dec. 17, 2013, 9:30 p.m.
0
4
User avatar
812334462