for ($i = 0;$i < 10;$i++) {
        print "$i "; #print each digit and then a space
}
