Computer Science, asked by sharmasachin4740003, 3 months ago

What will be the output of the following ?

for x in [10, 20]:

if(x==10):

print(x)

10
20
error
nothing will print

Answers

Answered by madhalaimuthucharlas
1

Answer:

10 is the answer

Hope this answer will help you


madhalaimuthucharlas: why didn't you drink the juice
sharmasachin4740003: did you not drink the juice galat hoga kya
madhalaimuthucharlas: ok it's your style
sharmasachin4740003: rajesh had hit the child with his car.
sharmasachin4740003: changed into passive voice
sharmasachin4740003: change*
madhalaimuthucharlas: the child had been hit by rajesh with his car
sharmasachin4740003: no one keeps a check on the comments of participants on newspaper
sharmasachin4740003: true or false
sharmasachin4740003: bolo
Answered by simiayisha
1

Answer:

10 is the answer

hope it's helpful


sharmasachin4740003: are u sure about your answer
sharmasachin4740003: ??
simiayisha: it is correct,
sharmasachin4740003: explain me
sharmasachin4740003: If x = 10, then the cod if x % 2 == 0: will return ……………………………..​
madhalaimuthucharlas: the condition is true
sharmasachin4740003: no one keeps a check on the comments of participants on newspaper
sharmasachin4740003: true or false
Similar questions