1.

Please help Kiara to write the correct code to reverse a string.

Answer»

if YU take in python, we have the below code to d o reverse operationExplanation:X=list('muthukumar')print(x)x.reverse()print(x)['m', 'u', 't', 'H', 'u', 'K', 'u', 'm', 'a', 'R'] ['r', 'a', 'm', 'u', 'k', 'u', 'h', 't', 'u', 'm']



Discussion

No Comment Found