题解 | 小红的正整数计数

小红的正整数计数

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)  

全部评论

相关推荐

迷茫的大四🐶:你这个拿去投央国企吧,投私企包过不了的
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务