Skip to content

Commit dffa283

Browse files
authored
Update 8-9.py
使打印的姓名大写
1 parent 105ffb3 commit dffa283

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chapter08/8-9.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
def show_magicians(names):
22
for name in names:
3-
print(name)
3+
print(name.title())
44

55
magicians = ['znn','david','amy']
6-
show_magicians(magicians)
6+
show_magicians(magicians)

0 commit comments

Comments
 (0)