fork(1) download
  1. n = 37
  2. d = n % 10
  3. n = (n - n % 10) // 10
  4. c = n % 10
  5. n = (n - n % 10) // 10
  6. if n == 0:
  7. print(str(d) * c)
  8. else:
  9. b = n % 10
  10. n = (n - n % 10) // 10
  11. if n == 0:
  12. print(str(b) * c)
  13.  
  14.  
Success #stdin #stdout 0.02s 9180KB
stdin
Standard input is empty
stdout
777