' P '

whatever I will forget

python 三項演算子

文法

print("Even" if a**b%2==0 else "Odd")