Create a function that takes guitar strings as an array of frequencies, starting at the first string (High E) and ending in the sixth string (Low E).
The function must return the display of a tuner for each string, in the same order, as an array.
You can find the frequencies of the strings on the Wikipedia page.
"OK" for that guitar string.">+" for 1 or 2 percent off (the arrow means, tune up).">>+" if it's way off. For more than 3 percent."+<" for 1 or 2 percent, and "+<<" for more, (tune down).0 is given, the guitar string isn't played, return " - ".tune([0, 246.94, 0, 0, 0, 80]) ➞ [" - ", "OK", " - ", " - ", " - ", ">>+"]
tune([329, 246, 195, 146, 111, 82]) ➞ ["OK", "OK", ">+", ">+", "+<", "OK"]
tune([329.63, 246.94, 196, 146.83, 110, 82.41]) ➞ ["OK", "OK", "OK", "OK", "OK", "OK"]
Items in the list will always be numbers.