set a 2 for {set val 0} {$val <10} {incr val} {set nn [pow($z,$val)]puts $nn }
Standard input is empty
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!