Python raw_input messing up string concatenation

前端 未结 3 1478
梦谈多话
梦谈多话 2021-01-22 20:21

I am trying to do something relatively simple in Python and am surprised at how badly this isn\'t working for how simple it should be.

I\'m here just trying to concatena

3条回答
  •  走了就别回头了
    2021-01-22 20:47

    Could you verify if you've set the PYTHONUNBUFFERED environment variable? When set on Windows, you will definitely run into issues where raw_input returns the \r. You can read more about it here.

提交回复
热议问题