Python Input Into Array Methods Javascript Slice String Sql Functions