保证对Python181****03022025-05-30 18:24:15发布于:上海0阅读0回复0点赞N = int(input()) a = N < 0 if a: N = -N b = str(N):-1 b = b.lstrip('0') if not b: c = 0 else: c = int(b) if a: c = -c print(c) 有帮助,赞一个去预览0/2000发布这里空空如也
有帮助,赞一个