is it possible to do method overloading in python?

0 votes
can you give an example?
Mar 25, 2019 in Python by Waseem
• 4,540 points
76 views

1 answer to this question.

0 votes
You cannot have two methods with the same name in python. Therefore no method overloading.
answered Mar 25, 2019 by Mohammad
• 3,210 points

Related Questions In Python

0 votes
1 answer

Is it possible in Python requests to print entire HTTP request?

A better idea is to use the ...READ MORE

answered Nov 26, 2018 in Python by Nymeria
• 3,520 points
4,582 views
0 votes
1 answer
0 votes
1 answer

Is it possible to create an array with all values as zero in python?

You can use  np.zeros(4,3) This will create a 4 ...READ MORE

answered May 24, 2019 in Python by Anjali
135 views
0 votes
1 answer

Is it possible to run a function in Python using the command line?

Suppose your file name is demo.py and ...READ MORE

answered Jun 26, 2019 in Python by Neel
• 3,010 points
131 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 1,188 views
0 votes
0 answers
0 votes
2 answers

what is the procedure to the version of python in my computer?

Execute the following command on your terminal: python ...READ MORE

answered Mar 19, 2019 in Python by Alia
146 views
0 votes
1 answer

What is the best IDE for python to work in linux?

Pycharm ranks the best python ide to ...READ MORE

answered Aug 19, 2019 in Python by Mohammad
• 3,210 points
65 views