Ruby Parse String Into Array In Python W3schools