m = 0 def mm(m): while True: print('m=', m) m = m + 1 if m == 10: break return print(mm(m))