On 4/04/22 9:45 am, Ethan Furman wrote:
Well, if we're spit-balling ideas, what about:
63_lbs
77_km/hr
I'm not convinced there's a need for new syntax here.
63*lbs
77*km/hr
With appropriate definitions of lbs, km and hr these
can be made to construct numbers with attached units.
--
Greg
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/python-ideas@python.org/message/42FJEIJ4HV2GOCMZKN2TMTIDFMPBNBPY/
Code of Conduct: http://python.org/psf/codeofconduct/