9/6/22

Flip the string

 Reversing a string is a common task during coding interviews.

Given a string as input, output its reverse.

Sample Input

hello world

Sample Output

dlrow olleh

#your code goes here

n = input()

print (n[::-1])

Blog Archive