Pergunta de entrevista da empresa Worldline

write a code to design a given pattern what are the changes if we twerk it a bit?