In that specific case, repr and str will return the same string.
But in general repr should return all the important information on the object while str is meant to return only a formatted and human readable output.