这咋错了(python)
查看原帖
这咋错了(python)
966040
HAPPY804楼主2023/4/9 16:09

a=input()

b=int(a)

c=("Today, I ate")

d=("apples.")

e=str(a)

f=(" ")+e+(" ")

if a ==0:

print("Today, I ate 0 apple.")

elif a ==1:

print("Today, I ate 1 apple.")

else:

    print(c+f+d)
2023/4/9 16:09
加载中...