Input a string “Green Revolution”. Write a script to print the string in reverse.
Answers
Answered by
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