41.7k views
2 votes
Write a python function that takes an array of integers and multiplies each one by 3.

1 Answer

6 votes

def multiply(array):

return [x * 3 for x in array]

User Rohith K P
by
8.5k points

No related questions found