Pregunta de entrevista de Red Hat

Write a code to get the following things in pattern.

Respuesta de la entrevista

Anónimo

12 nov 2021

It was easy to write the code. I just had to apply some logic and code was ready.