Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

if else if

var age = prompt("enter your age")
if (age>= 60){
    console.log("you are older")

}
else if (age >=18){
    console.log("you are adult")

}
else if (age < 18){
    console.log("you are child")
}
Source by sites.google.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+8 =