fork download
  1. def probuj(n):
  2. print('*', end='')
  3. if n == 1: return
  4. if n % 2 == 0:
  5. probuj(n // 2)
  6. else:
  7. probuj(3 * n + 1)
  8.  
  9. probuj(6)
Success #stdin #stdout 0.02s 9144KB
stdin
Standard input is empty
stdout
*********