#Authore: James Tam #Version: 2017 #Learning: Implements non-tail recursion (last instruction in recursive function) #is an instruction other than a recursive call (or a trivial instruction such #as return). The desired a task only begins after the recursion has ended. (In #this case it's displaying the current value of 'no'). def nonTail(no): if (no < 3): nonTail(no+1) print(no) nonTail(1)