<?php function arbolito($pisos){ for ($i=0; $i<$pisos; $i++){ echo str_repeat("*", $i). "\n"; } } arbolito(10);
To embed this project on your website, copy the following code and paste it into your website's HTML: