Skip to content

Commit a3334a4

Browse files
committed
modify the answer of 3.4
1 parent b58d0e9 commit a3334a4

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
@@ -353,8 +353,8 @@
353353
def str2dict(str1):
354354
dict1 = {}
355355
for iterms in str1.split('|'):
356-
key,value = iterms.split(':'):
357-
dict1[key] = value
356+
key,value = iterms.split(':')
357+
dict1[key] = value
358358
return dict1
359359
```
360360
## 3.5 请按alist中元素的age由小到大排序

0 commit comments

Comments
 (0)