题解 | 不要三句号的歪
不要三句号的歪
https://www.nowcoder.com/practice/7cbb7d96fb354f7995d9af1ccf8906b4
while True:
try:
str_list = input().split(',')
print(int(str_list[-1]) - int(str_list[-3]) - 1)
except Exception as e:
break
不要三句号的歪
https://www.nowcoder.com/practice/7cbb7d96fb354f7995d9af1ccf8906b4
while True:
try:
str_list = input().split(',')
print(int(str_list[-1]) - int(str_list[-3]) - 1)
except Exception as e:
break
相关推荐