Demo entry 4142121

na

   

Submitted by anonymous on Mar 23, 2016 at 07:47
Language: Python 3. Code size: 264 Bytes.

for line in sorted(tosort):
            if tosort[line][0] == "*":
                tosort[line][0] = "0"
            if tosort[line][1] == "*":
                tosort[line][1] = "0"
            if tosort[line][2] == "*":
                tosort[line][2] = "0"

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).