if statement allows one to execute code block depending on condition code blocks are defined by indentationstandard practice is to use four spaces for indentation example py if + numbers[ boolean operators==!=>=<