When a list only contains digits, converting it to string should create a sequence of digits that aren't separated by spaces. 