I want to know how can I reverse a string without using any library modules or even a dummy variable or extended slice notation e.g. s[::-1]
for example I have a string
>>>['f','a','l','u','b']
output should be >>>['b','u','l','a','f']
I have searched these two links but they dont provide this solution
Python reversing a string using recursion
these links don't provide the answer. I know strings are immutable that's exactly why I used string characters in list, and almost everyone here solved it using builtin functions (which I already know). Still no concrete answer
This question was asked to me in an interview. And I think its better to encourage new comers rather than castigating and down voting their questions