题解 | 小红的正整数计数
小红的正整数计数
https://www.nowcoder.com/practice/bf1c0694fdb84d12bc03793dee837117
a,b= map(int,input().split()) count = 0 for i in range(a,b+1): if i%2==0: count +=1 print(count)
小红的正整数计数
https://www.nowcoder.com/practice/bf1c0694fdb84d12bc03793dee837117
a,b= map(int,input().split()) count = 0 for i in range(a,b+1): if i%2==0: count +=1 print(count)
相关推荐