Skip to content

Commit e42acf7

Browse files
committed
p3
1 parent c707a61 commit e42acf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

203.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
这是使用一个星号`*`,是以元组形式传值,如果用`**`的方式,是不是应该以字典的形式呢?理当如此。
152152

153153
>>> def book(author, name):
154-
... print "{0}}is writing {1}".format (author,name) #Python 3: print("{0}}is writing {1}".format (author,name))
154+
... print "{0}is writing {1}".format (author,name) #Python 3: print("{0}}is writing {1}".format (author,name))
155155
...
156156
>>> bars = {"name":"Starter learning Python", "author":"Kivi"}
157157
>>> book(**bars)

0 commit comments

Comments
 (0)