educative.io

Educative

Missing Explanation in Learn Python from Scratch Course

Need more explanation about the usage of
result = ()

Why do we assign parentheses to this variable?
Is there any name for this type of assignment?

Link to the Resource: https://www.educative.io/courses/learn-python-3-from-scratch/gkRop809lDY
The break keyword section.

Thank you for pointing this out. result was being assigned a tuple. However, that is beyond the scope of the chapter. The code has been updated and result has been removed. Feel free to have a look!

Rauhaan | Developer Advocate
educative.io