Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

input function in python

a = input("Enter a number: ")
a = int(a) # Convert a to an Integer(if possible)
print(type(a))
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #input #function #python
ADD COMMENT
Topic
Name
4+4 =