Pregunta de entrevista de Dedrone

Asked a python code to generate a signal