下面Python代码用于求正整数1到N之间含有3的数的个数,横线处应填入代码先后是( )。
cnt = 0N = int(input("请输入正整数:"))for i in range(1,N): while i != 0: if i % 10 == 3: cnt +=1 __________ else: __________print(cnt)下面Python代码用于求正整数1到N之间含有3的数的个数,横线处应填入代码先后是( )。
cnt = 0N = int(input("请输入正整数:"))for i in range(1,N): while i != 0: if i % 10 == 3: cnt +=1 __________ else: __________print(cnt)