Important Notice:

Course Content
List Manipulation in Python (Chapter-7) M3-R5
About Lesson
Repeating List:-

            Repetition operation का use list के elements को दिए गए numbers तक repeat करने के लिए किया जाता है।

a=[10,20,30]

b=a*3

print(b)

# [10, 20, 30, 10, 20, 30, 10, 20, 30]

 

Repeating List:-

            Repetition operation is used to repeat the elements of the list up to the given numbers.

a=[10,20,30]

b=a*3

print(b)

# [10, 20, 30, 10, 20, 30, 10, 20, 30]

error: Content is protected !!