9.1 if condition
if condition is used to do something when the condition is true.
Note that in the below code we are using double equal sign to check for equality. When we assign a value to a variable then we use a single equal sign. We use double equal sign to check if the two values are equal.