Answers for "taking user input python"

4

how to get input from user in python

name = input("Enter your name: ")
print(f'Hello {name}')
Posted by: Guest on September-07-2021
0

user input python

age = input('what is your age?: ')
print("You are "+age + " years old")

ans : what is your age?: 23
You are 23 years old

#input method in python.A selected question would prompt and user should ans that.
#after that programme will show age with a text message.
Posted by: Guest on February-24-2022

Code answers related to "taking user input python"

Python Answers by Framework

Browse Popular Code Answers by Language