📜  1,1,2,3,4,9,8,27,16,81,32,243,64,729,128,2187 - 任何代码示例
📅  最后修改于: 2022-03-11 14:56:19.053000             🧑  作者: Mango
代码示例1
num = int(input())if(num%2==0):num = num // 2print(3**(num-1))else:num = num // 2 + 1print(2**(num-1))