python3.9 has new features that no one is paying attention to ...

A. Yes.

Related article https://qiita.com/sh1ma/items/3d9280084c340b4cd775

Look at the code

@lambda f: lambda *args: print(f(*args)) #← Move! !!(3.This didn't work until 8)
def f():
    return "hello"

f() # -> hello

Ukeru w

Recommended Posts

python3.9 has new features that no one is paying attention to ...
That Python code has no classes ...
[Introduction to Udemy Python3 + Application] 37. Techniques for determining that there is no value
[Python] tkinter Code that is likely to be reused
[Python] pandas Code that is likely to be reused
python> Is it possible to make in-line comments?> It seems that it has to be on multiple lines
How to test that Exception is raised in python unittest
How to judge that the cross key is input in Python3
What's new in datetime that is a bit more useful in Python 3
There is no switch in python
With PEP8 and PEP257, Python coding that is not embarrassing to show to people!
Note that Python dict returns default value if there is no key