explain if statement with ? code example
Example 1: if statement
if( ID = josh ):
print("ID confirmed")
// python
else:
print("ID does not exist")
Example 2: how does an if statement work
//simpple reapet code
draw = function() {
var d = 11
if(d > 10) {
ellipse(200,200,200,200);
}
}
//ellipse apiers