Report Bug

Qus

what is the output of the following code?

M=['b' *x for x in range(4)]
print(M)
Qus

निम्नलिखित कोड का आउटपुट क्या है?

M=['b' *x for x in range(4)]
print(M)


A. ['', 'b', 'bb', 'bbb']
B. ['b,'bb', "bbb', "bbbb']
C. ['b','bb', bbb']
D. none of these


Solution
A. ['', 'b', 'bb', 'bbb']



CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad