It would be nice to add the following syntax sugar in Python "Print and Eval"

like `ptev a == b` It is same as `statement = "a == b"; print(f"{statement} ? 
{eval(statement)}")`.

It would super nice for debugging and other research project.


_______________________________________________
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/NQ6NZIALIVNNVMYZSSFF7Y2Q4W736O7L/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to