# Introduction

You are the developer working on a website which features a large counter on its homepage, proudly displaying the number of happy customers who have downloaded your companies software.

You have been tasked with adding an effect to this counter to make it more interesting.  

Instead of just displaying the count value immediatley when the page loads, we want to create the effect of each digit cycling through its preceding numbers before stopping on the actual value.



# Task

As a step towards achieving this; you have decided to create a function that will produce a multi-dimensional array out of the hit count value.  Each inner dimension of the array represents an individual digit in the hit count, and will include all numbers that come before it, going back to 0.

## Rules
* The function will take one argument which will be a four character `string` representing hit count
* The function must return a multi-dimensional array containing four inner arrays
* The final value in each inner array must be the actual value to be displayed
* Values returned in the array must be of the type `number`

**Examples**

Source: codewars | Difficulty: EASY
Tags: Fundamentals

Data structures

Starter code: def counter_effect(hit_count):
	

Solutions:
def counter_effect(hit_count):
	return [[i for i in range(int(hit_count[x]) + 1)] for x in range(4)]


def counter_effect(n):
	return [list(range(int(x) + 1)) for x in n]


def counter_effect(hit):
	b = []
	for i in str(hit):
		a = []
		for k in range(int(i) + 1):
			a.append(k)
		b.append(a)
	return b


def counter_effect(hit_count):
	return [list(range(int(s) + 1)) for s in hit_count]