Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

reverse of string

def reverseWord():
  List = list(input().split(" "))
  updatedList= [x[::-1] for x in List]
  return str(' '.join(updatedList))
   
print(reverseWord())
Source by practice.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #reverse #string
ADD COMMENT
Topic
Name
9+3 =