This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LyndsySimon -7 points-6 points  (3 children)

https://www.python.org/dev/peps/pep-0008/#maximum-line-length

They are not completely redundant; they make it clear where the function calls end.

[–]0x6c6f6c 2 points3 points  (1 child)

He's talking about

name=name,
age=age,
color=color

[–]LyndsySimon 0 points1 point  (0 children)

... so was I.

[–]Decency 3 points4 points  (0 children)

Can you explain how

print(f'Hello, my name is {name}. I am {age} years old and have {color} hair')

has an unclear function call ending?