Python题解

n=int(input())
if n%10<5:
    n=n-n%10
else:
    n=n-n%10+10
print(n)

全部评论

相关推荐

点赞 收藏 评论
分享
牛客网
牛客企业服务