LoginSignup
1
0

More than 5 years have passed since last update.

Scipy lecture notes, Edition 2017.1 > Functions > first-class objects | 関数に変数を持たせることができる

Last updated at Posted at 2018-04-09

@ Scipy lecture notes, Edition 2017.1
https://www.scipy-lectures.org/_downloads/ScipyLectures-simple.pdf
p29
2.4.8 Functions are objects

Functions are first-class objects, which means they can be:
- assigned to a variable
- an item in a list (or any collection)
- passed as an argument to another function

link

関数に変数を持たせることができる

@shiracamus さんのコメント
にて関数に変数(属性、アトリビュート)を持たせることができることを教えていただきました。

情報感謝です。

1
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0