what is an if statement in Python
Answers
Answered by
2
Answer:
If statements are control flow statements which helps us to run a particular code only when a certain condition is satisfied. For example, you want to print a message on the screen only when a condition is true then you can use if statement to accomplish this in programming.
Similar questions
Math,
5 months ago
Economy,
5 months ago
Accountancy,
5 months ago
Biology,
11 months ago
Science,
11 months ago