Skip to content

Commit bd65132

Browse files
authored
Update 8-5.py
增加标点符号
1 parent 105ffb3 commit bd65132

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chapter08/8-5.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
def describe_city(cityname,contury='china'):
2-
print(cityname.title + " is in " + contury.title)
2+
print(cityname.title + " is in " + contury.title + ".")
33

44
describe_city('beijing')
55
describe_city('NewYork','American')
6-
describe_city('chengdu')
6+
describe_city('chengdu')

0 commit comments

Comments
 (0)