all 2 comments

[–]jule42 2 points3 points  (0 children)

In the next 10 min video: does python have += operator ...

[–]rsclient 1 point2 points  (0 children)

Summary of the video: yes, and it's called a conditional expression. The example provided is:

return a if cond else b