A python class can only return a single value?
Answers
Answered by
1
Answer:
Python functions are not restricted to having a single return statement. If a given function has more than one return statement, then the first one encountered will determine the end of the function's execution and also its return value.
Explanation:
I hope it helps please mark me as brainliest
Similar questions