Frage im Vorstellungsgespräch bei AffirmedNetworks

What do you mean by function in Python? Why do we even use it ?