Answers for "how to append an array in for loop in python"

1

append in a for loop python

a=[]
for i in range(5):    
    a.append(i)
a # the list with the new items.
Posted by: Guest on September-09-2020

Code answers related to "how to append an array in for loop in python"

Python Answers by Framework

Browse Popular Code Answers by Language