// For20.kt Copyright (c) Kari Laitinen // http://www.naturalprogramming.com // 2020-10-27 File created. // A for-in loop is used in this example program. fun main() { print( "\n Numbers from 0 to 20 are the following:\n\n " ) for ( number_to_print in 0 .. 20 ) { print( " $number_to_print " ) } print( "\n" ) }