python3.6.4 no raw_input

I have been using Python 2.7 before. In 2.7, I personally think that the difference between raw_input() and input is that raw_input() can input strings and Chinese, while input() only accepts numbers, and the input string will report an error.

                                                                                The version 3.6.4 used now has only input(), but it is equivalent to the combination of raw_input() and input in 2.7, which can accept input of strings, Chinese and numbers. So using the python3.X version can no longer distinguish between the two .

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324972942&siteId=291194637