Newb question: I want to read the user input an array of numbers. Is
this possible? If not, then I want to convert the string input (from
gets) into an array.
user inputs [5,3,46,6,5]
gets.chomp converts this to a string “[5,3,46,6,5]”
I want [5,3,46,6,5] (the arrray, not the string)
Any help would be greatly appreciated.