新建PYTHON文档,输入:n = float(input(“input a num: ”));if n % 2 == 0:;print(“even”);elif n % 2 != 0:;print(“odd”)。如果输入的数字是偶数,输出的文字为:even。