On Oct 22, 5:43 pm, Marco Mariani <[EMAIL PROTECTED]> wrote: > Py-Fun wrote: > > def itforfact(n): > > while n<100: > > print n > > n+1 > > n = input("Please enter a number below 100") > > You function should probably return something. After that, you can see > what happens with the result you get.
i am just suggesting u an idea but i dont know it satisfies ur needs x=10 def cal_range(10) for i in range(10): print 2**i -- http://mail.python.org/mailman/listinfo/python-list