Click here to Skip to main content
15,905,971 members

Comments by Member 14897676 (Top 6 by date)

Member 14897676 6-Sep-21 9:48am View    
but why the return value is complex ? bcs the two parameters are of complex data type?
what if I write return type as void?
Member 14897676 6-Sep-21 9:46am View    
Deleted
I have updated the code ..pls check it
Member 14897676 6-Sep-21 9:46am View    
I have updated the code ..pls check it
Member 14897676 24-Jul-20 9:14am View    
can you explain how this works:-

def fact_iterative(n):
fact=1
for i in range(n):
fact=fact *(i+1)
return fact
Member 14897676 24-Jul-20 8:58am View    
can you explain me how this works:-

def fact_iterative(n):
fact=1
for i in range(n):
fact=fact *(i+1)
return fact