单选题

请选择下面代码的输出结果是?

def f(n):

      n +=1

      return n

x=10

y = f(x)

print(y)

A

10

B

11

C

12

D

None

赣ICP备20007335号-2