|
|
1
6
我缩进后面的行2个级别:
|
|
2
20
您可以在括号(或括号)中包含换行符,例如
(当然,要包含的空白数量由您决定) 但在这种情况下,你也可以考虑
和/或
取决于您如何使用参数(以及您希望如何调用函数)。 |
|
|
3
12
I think the 'Pythonic' way of answering this is to look deeper than syntax. Passing in that many arguments to a method indicates a likely problem with your object model.
|
|
|
4
1
If you have a function that takes so many variables as arguments, the last thing you have to worry about is indentation |
|
|
5
1
我只是在79点被击中后就分裂到左括号,如下所示:
如果名字太长,放在左括号后,我会这样做:
|
|
|
6
-2
I usually do this, I don't know if it's the best, but it works. Since I have to split the line I make them equally longer (if I can):
另外,我建议使用与david相同数量的参数。
|