x=3
if x%2==0:
print(x,“是偶数。”)
else:
print(x,“是奇数。”)
import math
h = 500
g = 9.8
t = math.sqrt(2*h/g)
hx = g*(t-1)*(-1)/2
hh = h-hx
print(“小球最后1秒下落的位移是:”,hh,“m”)