Python Question: Eating My Brain | by Durga Sir

Subscribers:
842,000
Published on ● Video Link: https://www.youtube.com/watch?v=bIMFa-geYgc



Duration: 19:38
12,488 views
359


Python Question: Eating My Brain | by Durga Sir
=========================================
Python Question: Consider the code:

x = ['a','b','c','d']
for x[-1] in x:
print(x[-1],end='')

What is the output?

A. dddd
B. abcd
C. abcc
D. None of these







Tags:
durga
durga sir
durgasoft
interview
questions
java
software
training