I mostly have it now. Thought I would follow up for anyone else and to see how to align it all correctly. Here's the code:
str(melon) == "3kg (0,6.37e+06,0) (0,0,0)"
I get 3kg (0,6.37e+06,0) (0,0,0), which is correct.
When I pass this
str(earth) == "5.97e+24kg (0,0,0) (0,0,0)"
I get 5.9736kg (0,0,0) (0,0,0), which you can see is not correct.
formatted = '{0!s:6s},{1!s:6s},{2!s:6s}'.format(mass, position, velocity)Input
str(melon) == "3kg (0,6.37e+06,0) (0,0,0)"
I get 3kg (0,6.37e+06,0) (0,0,0), which is correct.
When I pass this
str(earth) == "5.97e+24kg (0,0,0) (0,0,0)"
I get 5.9736kg (0,0,0) (0,0,0), which you can see is not correct.