(Leetcode) 3的幂 - Python实现

题目:html 给定一个整数,写一个函数来判断它是不是 3 的幂次方。Given an integer, write a function to determine if it is a power of three.python 示例 :函数 输入: 27  输出: true测试 输入: 0   输出: false.net 输入: 9   输出: truecode 输入: 45  输出: fal
相关文章
相关标签/搜索