Sollicitatievraag bij Nanoprecise

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