Skip to content

Instantly share code, notes, and snippets.

View Ashaba's full-sized avatar

Ashaba Ashaba

  • Kampala
View GitHub Profile
@Ashaba
Ashaba / merge_arrays.py
Created July 5, 2019 11:08
A function that merges two arrays together at a given length creating one array array
def merge_arrays(a, b, c):
index = 0
b_index = 0
b_len = len(b)
d = []
for i in a:
d.append(i)
index += 1
if index == c: