python take console input code example
Example 1: input command in python shell
x = input("Input Your Name")
#lets say I input Bob
print(x)
#It should output Bob
Example 2: inpuit inf terfminal ppython
userInput = input("This is a prompt for the input")
print userInput
Example 3: python text ouput to console
#in python 2.7
print "Hello world"
#in python 3.7
print("Hello again world")
#Neither of these require any imports.