What is the purpose of an if statement in Python? - Study24x7
Social learning Network
20 Mar 2024 04:24 PM study24x7 study24x7

What is the purpose of an if statement in Python?

A

To loop through a sequence

B

To execute a block conditionally

C

To define a function

D

To handle exceptions

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles