Pergunta de entrevista da empresa Qualcomm

Basic programs in python and maths question