How do I use raw_input in Python 3

后端 未结 8 2557
旧时难觅i
旧时难觅i 2020-11-22 01:39
import sys
print(sys.platform)
print(2**100)
raw_input()

I am using Python 3.1 and can\'t get the raw_input to \"freeze\" the dos pop-

8条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-11-22 02:26

    Starting with Python 3, raw_input() was renamed to input().

    From What’s New In Python 3.0, Builtins section second item.

提交回复
热议问题