When there is only one element we should output float or int instead of a list.
When there is only one element we should output float or int instead of a list.