Skip to content
Advertisement

Tag: definition

What is the difference between function and keyword/statements?

I’ve seen ‘del’ being referred to as a keyword and as a statement. Apparently, it is not considered a function: Python has a del statement (keyword) to delete objects, not a del function. https://tutorial.eyehunts.com/python/del-function-in-python-code/ I looked up the definition of a function in Python and it says: In Python, a function is a group of related statements that performs a

Advertisement