Answers for "python ask for input command line"

2

how to ask for input in python

variable = input("text before input")
# saves user input to "variable"
Posted by: Guest on August-15-2021
5

input command in python shell

x = input("Input Your Name")
#lets say I input Bob
print(x)
#It should output Bob
Posted by: Guest on April-22-2020

Python Answers by Framework

Browse Popular Code Answers by Language