<prompt> Kutokana na integer n, magazeti almasi kutoka na diagonal ukubwa n. Andika ufumbuzi katika Python na JavaScript.  <response>: Solution in Python:pythonn intinputEnter odd value of n: for i in rangen: for j in rangen: if ij and ijn-1: print , end else: print, end print Solution in JavaScript:javascriptlet n promptEnter odd value of n: ;forlet i0; ij ijn-1 document.write ; else document.write; document.write; 