+ 2

How to display output in a tabular form in java and python?

1st Aug 2019, 1:04 AM
Umar Idris
Umar Idris - avatar
2 Answers
+ 2
you con use formatter in java like: System.out.format("%s%10d%16s", string1, int1, string2); this pads int1, and string2 to 10, and 16 characters, respectively.
2nd Aug 2019, 9:09 PM
shirin ghoddousi
shirin ghoddousi - avatar
+ 2
There's no escaping it, buddy. %n_
18th Nov 2019, 10:05 AM
Detective_Khalifah
Detective_Khalifah - avatar