Unfortunately, there are no additional formatting parameters in the echo() function in Nim, as in Python print(). It is very strange and stupid that it does not have such basic and important functionality.
I hope the developers agree that such functionality is necessary. And so far we haven't implemented it just because we haven't gotten around to it.