Computer Science, asked by aliabhatt30, 1 month ago

Which of these is not a conditional statement?

a. if b. for c. if…else​

Answers

Answered by nasaanirudh
2

Answer:

for statement

Explanation:

A for loop is used for iterating over a sequence (that is either a list, a tuple, a dictionary, a set, or a string).  This is less like the for keyword in other programming languages, and works more like an iterator method as found in other object-orientated programming languages.  With the for loop we can execute a set of statements, once for each item in a list, tuple, set etc.

Run this:

fruits = ["apple", "banana", "cherry"]

for x in fruits:

 print(x)


aliabhatt30: your answer is wrong
nasaanirudh: hi @aliabhatt30 my answer is 100% correct because if, else and if-else statements are conditional which means that if add a condition that if a statement is right or wrong do this.
sarthakkasar5: my answer is correct
Answered by sarthakkasar5
2

Answer:

for is the conditional statement.

Explanation:

my answer is correct

please make me brainlist


nasaanirudh: for is not a conditional statement it's a loop bro
Similar questions