55.9k views
14 votes
What type of conditional statement is represented inthis code? (if, if/else, if/elif,

if/elif/else)
if a > b: print("a is greater than b")

1 Answer

5 votes

It is one of the powerful conditional statement. If statement is responsible for modifying the flow of execution of a program. If statement is always used with a condition. The condition is evaluated first before executing any statement inside the body of If.

User Anthi
by
3.4k points