Computer Science, asked by vinayak146, 7 months ago

The________the statement form the selection construct in Python. *

a) If

b) for

c) while

d) until​

Answers

Answered by radhasanjaychaubey
8

Answer:

The until the statement from the selection construct in python

Answered by vishakasaxenasl
0

Answer:

The if statement forms the selection construct in Python.

Explanation:

If Statement in Python

If the statement is used to make a decision or selection based on the fulfillment of particular criteria.

SYNTAX:

if(condition):

    #STATEMENT1

   #STATEMENT2

   ...........................

   #STATEMENT N

The statement of the if block is executed if the condition is true otherwise control is passed to the next block.

You can use multiple if statements in your code but remember writing multiple if's can cause the execution of all those cases that are met by the condition.

If you want only one block to execute use if-elif statement.

#SPJ2

Similar questions