Question: def fRec 1 ( ch ) : if ( ch > = ' a ' ) and ( ch < = ' h ' )

def fRec1(ch):
if (ch >='a') and (ch <='h'):
ch=cord(ch)
fRec1(ch)
print(ch , end ="")
else:
print()
def cord(ch):
return chr(ord(ch)+1)
What is the output of fRec1('d'):
1. defg
2. efgh
3. ihgfe
4. hgfe

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!