Answers for "writing a python script to ask for input"

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
1

how to have player input in python

#variable for the input:
variable_name = input("please add your input: ")
print(variable_name)

#example
#output(Type Hi please: ")
#print(output)
#Output will be Hi if you typed hi
Posted by: Guest on May-17-2020

Python Answers by Framework

Browse Popular Code Answers by Language