单选题

小蔡设计了一个程序,其功能是根据用户输入自己的年龄,判断其是否成年,由于不小心误删了两行代码,请你推测可能删除的代码是下列哪个选项(当年龄大于等于18显示成年,否则显示未成年):

age=_______

if _______: 

    print("成年")

else: 

    print("未成年")

A

int(input())

age>=18

B

input()

age>=18

C

int(input())

age>18

D

input()

age>18

赣ICP备20007335号-2