Computer Science, asked by XxYatashixX, 1 month ago

What will be OUTPUT Of following Python C.ode?
def bp(sg,n):
if n>0:
print(sg[n],end='')
bp(sg,n-1)
elif n ==0:
print(sg[0])

s=input("Enter a string :")
bp(s,len(s)-1)

Answers

Answered by Anonymous
20

Answer:

After Running Above Python C.ode The Output produced is Given in The Above Attachment.

Python Version is Python Anaconda Version

The Answer is an Original answer by Me.

after Interpreting C.odes .

Attachments:
Similar questions