N = int(input("enter a positive integer:")) coun = 1 while (N > 0): coun = coun * N N = N - 1 return coun nice = ntime(N) print(nice)
error: return outside of the function -- https://mail.python.org/mailman/listinfo/python-list
N = int(input("enter a positive integer:")) coun = 1 while (N > 0): coun = coun * N N = N - 1 return coun nice = ntime(N) print(nice)
error: return outside of the function -- https://mail.python.org/mailman/listinfo/python-list