print(&quot;1^2: &quot;+str(1**2)) print(&quot;2^2: &quot;+str(2**2)) print(&quot;3^2: &quot;+str(3**2) ) print(&quot;4^2: &quot;+str(4**2)) print(&quot;5^2: &quot;+str(5**2))
Genera un output che stampa i quadrati dei numeri da 1 a 5