Pergunta de entrevista da empresa JPMorganChase

What is a class and function in python?