Answers for "getting player input python"

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
0

getting player input python

print("Say: 'Hi!'")
answer = input()
print(answer)

##Output##
#Say: 'Hi!'
#Hi!
Posted by: Guest on March-07-2020

Python Answers by Framework

Browse Popular Code Answers by Language