Domanda di colloquio di Acronis

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

Risposta di colloquio

Anonimo

14 lug 2022

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