Ellucian applications process text values and ordered numeric sequences. Implement one function that reverses a string without using string-reversal helpers and generates the first n values of the Fibonacci sequence.
Do not use slicing, reversed, or other built-in functions that directly reverse or generate the requested result. Standard control-flow operations such as len and range are allowed.
Implement reverse_and_fibonacci(text, n).
text, a string of printable ASCII characters, and n, a non-negative integer.reversed: text in reverse character order.fibonacci: a list containing the first n Fibonacci values, beginning with 0, 1.n = 0, return an empty Fibonacci list.def reverse_and_fibonacci(text, n):