string input python code example
Example 1: python get input
txt = input("Type something to test this out: ")
print("Is this what you just said? ", txt)
Example 2: input in python
name = input("What is your name?\n")
print("You said your name was " + name)
number = int(input("Please select a random number:\n"))
Example 3: how to get user inout in python
test = input()
test = input("Please enter your information: ")
test = int(input("Please enter your information: "))
Example 4: python how to use input
x = input("your question here")
print(x)
Example 5: python input
myName = input()
Example 6: python input function
answer = input('What is your name?')