Domanda di colloquio di Nanoprecise

Write a Python function to reverse a given string without using built-in functions.