Answers for "getting user input in python"

1

user input python

input = input("Enter your value: ") 

print(input) # prints the input
Posted by: Guest on September-17-2020
5

python user input

input('ENter question here')
Posted by: Guest on December-31-2019
1

python print user input

name = input("Hi! What’s your name ? ")
print("Nice to meet you " + name + "!")

age = input("How old are you ? ")

print("So, you are already " + str(age) + " years old, " + name + " !")
Posted by: Guest on May-13-2021
4

python input

# use the function input()

# the parameter is something that would
# output on the screen before the input

name = input('What is your name?')
print('Hello ' + name)
Posted by: Guest on May-29-2020
3

how to accept input from the user in python

# if you want to ask the user to input anything, use the keyword "input"

# example

a = input("What is your name") # the user will be prompted to answer the question 

print(a) # this allows the user to actaully see the question or anything
Posted by: Guest on June-13-2020
0

how to get user input python

x = input("enter prompt here: ")
Posted by: Guest on October-31-2020

Code answers related to "getting user input in python"

Python Answers by Framework

Browse Popular Code Answers by Language