以下程序的输出结果是:()a = 30b = 1if a =10: a = 20elif a=20: a = 30elif a=30: b = aelse: b = 0print('a={}, b={}'.format(a,b))


以下程序的输出结果是:()a = 30b = 1if a =10: a = 20elif a=20: a = 30elif a=30: b = aelse: b = 0print('a={}, b={}'.format(a,b))

A.a=20, b=1

B.a=30, b=30

C.a=20, b=20

D.a=30, b=1

正确答案:a=20, b=1


Tag:Python语言程序设计 程序 时间:2022-02-04 21:50:26