Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Else Statement

const isTaskCompleted = false;

if (isTaskCompleted) {
  console.log('Task completed');
} else {
  console.log('Task incomplete');
}
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #Else #Statement
ADD COMMENT
Topic
Name
4+5 =