Answers for "ways of taking input in python"

17

python input

# The function 'input()' asks the user for input
myName = input()
Posted by: Guest on February-21-2020
1

input in python

age = input("Your age: ")
print("Your age is: " + age)

# defines input as a string and prints it out
Posted by: Guest on October-05-2020

Python Answers by Framework

Browse Popular Code Answers by Language