Good Job Bro,Now Let Me Help You!!
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution:\n    def smallestString(self, s: str) -> str:\n        final=""\n        helper=0\n        for i in range(len(s)):\n            if s[i]==\'a\' and helper==1:\n                final=final+s[i:]\n                break\n            if s[i]==\'a\':\n                final=final+s[i]\n            else:\n                final=final+chr(ord(s[i])-1)\n                helper=1\n        if helper==0:\n            final=s[:len(s)-1]+"z"\n        return final\n```
['Python3']