Intern — Senior
Iterating over list elements without using a for loop
livecode
Task condition
Given the list seq = [1, 2, 3, 4]. You need to iterate over it and print each element without using the for operator.
seq = [1, 2, 3, 4]
# Your code
livecode
Task condition
Given the list seq = [1, 2, 3, 4]. You need to iterate over it and print each element without using the for operator.
seq = [1, 2, 3, 4]
# Your code