in Education by
What will be the output of following python code? flowers =[‘rose’, ‘lotus’,”lily’ for x in flowers: print’flowers name:, x plsss give write answer Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Question:- What will be the output of following python code? Answer:- What will be the output of the following Python code? Explanation: Here i i i i i … printed continuously because as the value of i or x isn’t changing, the condition will always evaluate to True. hope it helps you #ItzZiddiBachi

Related questions

0 votes
    What does the following mean? 1) flowers rose= new flower (); 2) employee staff = new employee Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
0 votes
    e)What will be the output of the following code? (2) x,y=4,8 z=x/y*y print(z) Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    In Java, what will be the output of the following code and how? double x=2.9,y=2.5; (SOP is abbreviated form ... x),y)); Explain how Select the correct answer from above options...
asked Nov 28, 2021 in Education by JackTerrance
0 votes
    what will be the output of following python code print(‘ab12’.isalnum()) Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    b) What will be the output of the following Python code? print(‘ab12’.isalnum()) Select the correct answer from above options...
asked Dec 23, 2021 in Education by JackTerrance
0 votes
    what will be the output of following python code? flowers=[‘rose’,’lotus’,’lily’] Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    what will be the output of following python code? flowers=[‘rose’,’lotus’,’lily’] Select the correct answer from above options...
asked Dec 18, 2021 in Education by JackTerrance
0 votes
    (a) What will be the output of the following Python code? from math import factorial print (math.factorial (5) ... : print(factorial(5) Select the correct answer from above options...
asked Dec 17, 2021 in Education by JackTerrance
0 votes
    What will be the output of the following Python code? x = 'abcd' for i in x: print(i.upper()) a)a B C D b) a b c d c) error d)A B C D...
asked Jan 2, 2023 in Technology by JackTerrance
0 votes
    what will be the output for the following code fragment: first=2 second=3 third=first*second print(first,second ... third,second,first) Select the correct answer from above options...
asked Dec 23, 2021 in Education by JackTerrance
0 votes
    - What will be the output of the following C code? #include int main() { int i = 97, *p=&i; foo( ... (D) Segmentation fault/code crash Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    What will be the output produced by following code statements? State reason(s). i. (17%5) == (17%5.0) ii. (87 // 5 ... int((87 / 5.0)) Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    What will be the output produced by following code statements? State reason(s). i. (17%5) == (17%5.0) ii. (87 // 5 ... int((87 / 5.0)) Select the correct answer from above options...
asked Dec 18, 2021 in Education by JackTerrance
0 votes
    What will be the output of following code? (2) Value= Simar Age=17 print(Value, , your are , 17, now but ) ... ,Age+1, next year ) Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    Q.32 :-What will the SWAP macro in the following program be expanded to on preprocessing? will the code compile? ... y); return 0; Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
...