We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d48fbe5 commit 8a2ca9eCopy full SHA for 8a2ca9e
exercises/38-sort-tuples-ascending/solution.hide.py
@@ -2,9 +2,9 @@
2
3
l = []
4
while True:
5
- s = raw_input()
+ s = input("")
6
if not s:
7
break
8
l.append(tuple(s.split(",")))
9
10
-print sorted(l, key=itemgetter(0,1,2))
+print (sorted(l, key=itemgetter(0,1,2)))
0 commit comments