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.


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -