Acronis interview question

write a function which reverses the string. Example; "A test string" "string test A"

Interview Answer

Anonymous

Jul 14, 2022

' '.join(string.split(' ')[ ::-1])