Frage im Vorstellungsgespräch bei Acronis

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

Antwort im Vorstellungsgespräch

Anonym

14. Juli 2022

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