working of if statement code example
Example 1: IF STATEMENT WHAT IS IT
if (X < 10) {
print "Hello John";
}
Example 2: if statement
if( name = 'george washington'):
print("You have the same name as the first president of the United States")
// python
else:
print("You do not have the same name as George Washington")