- 博客(1)
- 收藏
- 关注
原创 python输入一个整数逆序输出除了开头的0
c = input() s = c[::-1] if s[0] == '0': p = s[1:] else: p = s print(p)
2022-03-31 17:27:52
2840
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
c = input() s = c[::-1] if s[0] == '0': p = s[1:] else: p = s print(p)
2022-03-31 17:27:52
2840
TA创建的收藏夹 TA关注的收藏夹
TA关注的人