Redus Russ

Generation

generate functionMon, 06 Feb 2023

a function that puts the arrays given into another array

array = [1,2,3] def putInArray(array): newArray = [] for num in array: newArray.append(num) return newArray

Questions about programming?Chat with your personal AI assistant