Anyone please explain how if statement works
LIKHITH REDDY CHILAKALA If statements are logical blocks used within programming. They're conditional statements that tell a computer what to do with certain information. ... A good way to think of the if statement is as a true or false question. They ask the program if something is true, and tell it what to do next based on the answer.
https://code.sololearn.com/cbkORMzZr2b3/?ref=app check this out.