Python | TC O(1) | Simple Solution
\n# Complexity\n- Time complexity: O(1)\n Add your time complexity here, e.g. O(n) \n\n- Space complexity: O(1)\n Add your space complexity here, e.g. O(n) \n\n
\n# Complexity\n- Time complexity: O(1)\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity: O(1)\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution:\n    def smallestEvenMultiple(self, n: int) -> int:\n        if n % 2 == 0: # check if n is even return as it is because it will be the smallest even no \n            return n\n        else:\n            return n*2 # else multipy it with 2 to convert it into smallest even multiple\n```\n**If you like my solution Please Upvote**
['Python', 'Python3']