Is it possible to perform a user-defined python function like a statement? In other words, I would like to be able to say:
myfunc
Instead of:
myfunc () < / Code>
And it is said anyway - by the way, say, print
.
I can already hear from you all how this is a terrible thing and I am stupid to ask it and why I want to do this and I really want to do something else instead Have to compose responses, but please tell my word that I should do something to debug is a problem I am doing and like any air traffic control system, checking or using Being o.
No, this is not possible.
As you can see, there is no room for extensions to the list of simple statements in the specification.
In addition, as a statement print
is not present in Python 3.0 and is replaced by print ()
builtin function.
Comments
Post a Comment