Array 5 Flashcards
Python provides____
ways for executing the loops.
3
In python, _______ is used to execute a block of statements repeatedly until a given a condition is satisfied.
And when the condition becomes false, the line immediately
after the loop in program is executed.
while loop
Python uses _______ as its method of grouping statements.
indentation
In python, the ______ is used to iterate through all the
elements present in array.
for loop
In Python, to remove an array element we can use the ______method and it will remove the specified
element from the array
remove()
To remove the last element from an array we can use the _____ method and it will remove the last element from the array python.
pop()