We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c707a61 commit e42acf7Copy full SHA for e42acf7
203.md
@@ -151,7 +151,7 @@
151
这是使用一个星号`*`,是以元组形式传值,如果用`**`的方式,是不是应该以字典的形式呢?理当如此。
152
153
>>> def book(author, name):
154
- ... print "{0}}is writing {1}".format (author,name) #Python 3: print("{0}}is writing {1}".format (author,name))
+ ... print "{0}is writing {1}".format (author,name) #Python 3: print("{0}}is writing {1}".format (author,name))
155
...
156
>>> bars = {"name":"Starter learning Python", "author":"Kivi"}
157
>>> book(**bars)
0 commit comments