Skip to content

Commit e801eb0

Browse files
authored
Update Day 6.md
1 parent 0624609 commit e801eb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Status/Day 6.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ while True:
231231
break
232232
lst.append(tuple(s))
233233

234-
lst.sort(key= lambda x:(x[0],x[1],x[2])) # here key is defined by lambda and the data is sorted by element priority 0>1>2 in accending order
234+
lst.sort(key= lambda x:(x[0],int(x[1]),int(x[2]))) # here key is defined by lambda and the data is sorted by element priority 0>1>2 in accending order
235235
print(lst)
236236
```
237237

0 commit comments

Comments
 (0)