+ 1
Can we use the previously define function name for defining another function as it can be assigned with some other name?
like def fun1(): #body operation = fun1 now work of fun1 can be accomplished by operation so can I redefine the body of fun1() for other use?
7 Answers
+ 5
Whatever programming language we are talknig about (not only in Python), the answer is no, you cannot.
0
Yes you can.
0
tttdgh
0
hj
0
vcx
0
yes you can but parametars are different
- 3
Yes you can. But you will have to write your current function this way : operation = fun1()