Pergunta de entrevista da empresa Reckonsys

REverse a string in python without using any inbuilt function Find the frequency of a string