Sollicitatievraag bij ALSTOM

They asked me to reverse the string using python

Antwoord op sollicitatievraag

Anoniem

23 jul 2025

I took any example of hello original_string = "Hello" reversed_string = original_string[::-1] print(reversed_string) # Output: olleH