📜  python代码示例中的打印输入

📅  最后修改于: 2022-03-11 14:45:25.040000             🧑  作者: Mango

代码示例1
# Take input from user and store it as a variable. E.g. I store the input as 'user_inp'
user_inp = input("Enter anything you want: ")

#Now you can print it by using print function
print("You entered ", user_inp)
# If you don't want "You entered " you can simply write as:- print(user_inp)