Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

input age in python

# Take user input in python
age = int(input("Type the age: "))
if age <= 18:
    print("You are too young to enter here")
 
PREVIOUS NEXT
Tagged: #input #age #python
ADD COMMENT
Topic
Name
3+6 =