How to print a list containing strings with a specific number of spaces between each string? -
i'm working on making code prints strings list, need have specific number of spaces between each word. i'm working java. you can so: for (string item : list) { system.out.print(item + " "); } system.out.println(); assuming number of spaces low can add end.