We’re rewarding the question askers & reputations are being recalculated! Read more.

4 replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/

# Python 84

Requires input in brackets instead of parenthesis.

a=input();r=[]
while a:
n=a.pop(0);m=10-n
if m in a:a.remove(m);r+=[(n,m)]
print r


# Python 84

Requires input in brackets instead of parenthesis.

a=input();r=[]
while a:
n=a.pop(0);m=10-n
if m in a:a.remove(m);r+=[(n,m)]
print r


# Python 84

Requires input in brackets instead of parenthesis.

a=input();r=[]
while a:
n=a.pop(0);m=10-n
if m in a:a.remove(m);r+=[(n,m)]
print r


3 added 66 characters in body

# Python 84

Requires input in brackets instead of parenthesis.

a=input();r=[]
while a:
n=a.pop(0);m=10-n
if m in a:a.remove(m);r+=[(n,m)]
print r


# Python 84

Requires input in brackets instead of parenthesis.

a=input();r=[]
while a:
n=a.pop(0);m=10-n
if m in a:a.remove(m);r+=[(n,m)]
print r


# Python 84

Requires input in brackets instead of parenthesis.

a=input();r=[]
while a:
n=a.pop(0);m=10-n
if m in a:a.remove(m);r+=[(n,m)]
print r


2 deleted 4 characters in body

# Python 8884

Requires input in brackets instead of parenthesis.

a=input();r=[]
while a:
n,a=a,a[1:];m=10n=a.pop(0);m=10-n
if m in a:a.remove(m);r+=[(n,m)]
print r


# Python 88

Requires input in brackets instead of parenthesis.

a=input();r=[]
while a:
n,a=a,a[1:];m=10-n
if m in a:a.remove(m);r+=[(n,m)]
print r


# Python 84

Requires input in brackets instead of parenthesis.

a=input();r=[]
while a:
n=a.pop(0);m=10-n
if m in a:a.remove(m);r+=[(n,m)]
print r

1