Answers for "input under def python3"

12

python input function

answer = input('What is your name?')
Posted by: Guest on April-24-2020
1

input function in python

a = input("Enter a number: ")
a = int(a) # Convert a to an Integer(if possible)
print(type(a))
Posted by: Guest on January-12-2022

Python Answers by Framework

Browse Popular Code Answers by Language