Computer Science, asked by agnidsp6522, 1 year ago

Input a string “Green Revolution”. Write a script to print the string in reverse.

Answers

Answered by mersalkeerthi46
4

def reverseorder(list 1) :

relist = [ ]  

i = len (list 1) -1  

while i > = 0 :  

relist.append (list [i])  

i = 1 -1 return relist

Answered by Anonymous
1

Answer:

Explanation:

def reverseorder(list 1) :

relist = [ ]  

i = len (list 1) -1  

while i > = 0 :  

relist.append (list [i])  

i = 1 -1 return relist

Similar questions