单选题

下列程序的输出结果是?(     )

numbers = [3, 7, 2, 15, 9, 12]
for n in numbers:
    if n < 8:
        print(n)
A

2

B

7

C

3

D

3

赣ICP备20007335号-2