geekcomputers / Python

My Python Examples
http://www.thegeekblog.co.uk
MIT License
30.55k stars 12.08k forks source link

Python Beginner #758

Open GadgetAddict opened 4 years ago

GadgetAddict commented 4 years ago

I am very new to python but have some programming experience...

I was experimenting with you bank_managment_system python app. When I looked at the code, I found some functions were defined twice and I could not understand why you would need to define a function twice, with the same name and all the same code.

Thank you!

singla007 commented 3 years ago

Maybe number of arguments are different for method overloading.

amogh2004 commented 3 years ago

Maybe one was function definition and one was function call statement. Can you please send the link to the code?