is there anyway you can multiply certain elements in an array by one number an the others by another?
array = [1,2,3,4]
is there anyway I can multiply the 1st and 3rd by 2 and the second and fourth by 4 at the same time? python 2.7 btw
is there anyway you can multiply certain elements in an array by one number an the others by another?
array = [1,2,3,4]
is there anyway I can multiply the 1st and 3rd by 2 and the second and fourth by 4 at the same time? python 2.7 btw
برچسب:
نویسنده: استخدام کار