No, input
is not a keyword. Instead, it is a built-in function.
And yes, you can create a variable with the name input
. But please don't. Doing so is a bad practice because it overshadows the built-in (makes it unusable in the current scope).
If you must use the name input
, the convention is to place an underscore after it:
input_ = input()
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…