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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/NQ6NZIALIVNNVMYZSSFF7Y2Q4W736O7L/
Code of Conduct: http://python.org/psf/codeofconduct/