• 2022-07-24
    编写一个函数判断客户输入一个数字为1位、2位还是更多为,代码如下:请补全空下的代码num=int(input("输入一位或两位的数字:"))n='0'(1)n='1'(2)n='2'(3)d='>;2'print(n+"位数。”)
    A: 1: if num>;-10 and num<;10:2: eilf num >;-100 and num<;100:3: else:
    B: 1: if num>;10 and num<;-10:2: eilf num >;-100 and num<;100:3: else:
    C: 1: if num>;-10 and num<;10:2: eilf num <;-100 and num>;100:3: elif:
    D: 1: if num>;-100 and num<;100:2: eilf num >;-10 and num<;10:3: else: