Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Python by tarasov ( 14 years ago )
for i, element in enumerate(elements):
        if ';' in element:
            elements[i] = element.split(';')[0]
            elements.insert(i+1, element.split(';')[-1])

 

Revise this Paste

Your Name: Code Language: