个位数比十位数大2的两位数有多少?具体有哪些?
代码如下,使用循环遍历有帮助望采纳~
count = 0 for i in range(1,10): if i+2<10: print(i*11+2) count +=1 print(f'共有{count}个')
可以看看: