Skip to content

Commit c7a9c0d

Browse files
committed
2 parents 1ff99df + efb1bbb commit c7a9c0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@
352352
def str2dict(str1):
353353
dict1 = {}
354354
for iterms in str1.split('|'):
355-
key,value = iterms.split(':'):
356-
dict1[key] = value
355+
key,value = iterms.split(':')
356+
dict1[key] = value
357357
return dict1
358358
```
359359
## 3.5 请按alist中元素的age由大到小排序

0 commit comments

Comments
 (0)