-
what is first class object?🐍 파이썬/파이썬 기본 문법 2022. 7. 18. 08:27
being a first class object means ...
•can be passed as arguments to other functions
•can be returned as values from other functions
•can be assigned to variables
•can be stored in data structures
In python, Functio is also first class object ! :D
'🐍 파이썬 > 파이썬 기본 문법' 카테고리의 다른 글
[concept] list vs tuple (0) 2022.07.19 [Variable scope] global scope vs function scope (0) 2022.07.18 함수를 함수의 변수로 넘기기 (0) 2022.07.18 [Function] 함수란 (0) 2022.07.18 working with file (0) 2022.07.17