我正在遍历一个字符串并将 1 加到 ASCII 值,但最后,这个“无”会弹出。它是什么?
str_numbers = input ('> ')
i=0
while i <len(str_numbers):
x = print(chr(ord(str_numbers[i]) + 1), end="")
i=i+1
print (x)
样本输出:
abcdef
bcdefg无
我正在遍历一个字符串并将 1 加到 ASCII 值,但最后,这个“无”会弹出。它是什么?
str_numbers = input ('> ')
i=0
while i <len(str_numbers):
x = print(chr(ord(str_numbers[i]) + 1), end="")
i=i+1
print (x)
样本输出:
abcdef
bcdefg无