An if statement executes a segment of code only if its condition is true. A standard if statement consists of 3 segments: if, elif and else. An if statement doesn't necessarily has elif and else part.
Teaching is a skill that comes with time. Think back to some of your favourite classes in high school or university: What made them so special? What was it about the instructor’s pedagogy that made it ...