题解 | #牛牛的digit#
牛牛的digit
https://www.nowcoder.com/practice/21b49f1f495f4280b8a96c415deaa3c4
def digit(x,i): return x[-int(i):] x,i = input().split() print(digit(x,i))
牛牛的digit
https://www.nowcoder.com/practice/21b49f1f495f4280b8a96c415deaa3c4
def digit(x,i): return x[-int(i):] x,i = input().split() print(digit(x,i))
相关推荐