input() 或者 sys.stdin.readline().strip() 都可以吧, 详见 https://blog.csdn.net/qq_32678471/article/details/89351096