Is function overloading supported by Python? Give reasons.
Answers
Answered by
0
Like other languages (for example method overloading in C++) do, python does not supports method overloading. We may overload the methods but can only use the latest defined method. However we may use other implementation in python to make the same function work differently i.e. as per the arguments.
Similar questions
English,
7 months ago
Math,
7 months ago
Computer Science,
1 year ago
Math,
1 year ago
History,
1 year ago