Sollicitatievraag bij Acronis

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

Antwoord op sollicitatievraag

Anoniem

14 jul 2022

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