two liner || python || easy math only
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: 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 poorPigs(self, buckets: int, minutes_to_die: int, minutes_to_test: int) -> int:\n        pigs = log(buckets, minutes_to_test // minutes_to_die + 1)\n        return round(pigs) if isclose(pigs, round(pigs)) else ceil(pigs)\n\n```
['Python3']