单选题

下面Python代码执行后的输出是(   )。

tnt=0

for i in range(10):

        if i % 3 and i % 7:

                tnt +=i

print(tnt)

A

0

B

7

C

18

D

20

赣ICP备20007335号-2