Skip to content

Commit 8a2ca9e

Browse files
committed
38-sort-tuples-ascending
1 parent d48fbe5 commit 8a2ca9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/38-sort-tuples-ascending/solution.hide.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
l = []
44
while True:
5-
s = raw_input()
5+
s = input("")
66
if not s:
77
break
88
l.append(tuple(s.split(",")))
99

10-
print sorted(l, key=itemgetter(0,1,2))
10+
print (sorted(l, key=itemgetter(0,1,2)))

0 commit comments

Comments
 (0)