0
How to pass an list as an argument to a func??
And what to write in def for it??
3 Respuestas
+ 7
def func(array):
for arr in array:
print(arr)
array = [1,2,3,4,5]
func(array)
+ 6
Yes.
+ 1
will i be able to access arr[3]??
And what to write in def for it??