Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Output

By: a guest on Feb 6th, 2012  |  syntax: None  |  size: 0.55 KB  |  views: 60  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. s[0]= a
  2. s[1:]= bc
  3. prefix=
  4. prefix+s[0]= a
  5. st= ['a']
  6. s[0]= b
  7. s[1:]= c
  8. prefix= a
  9. prefix+s[0]= ab
  10. st= ['a', 'ab']
  11. s[0]= c
  12. s[1:]=
  13. prefix= ab
  14. prefix+s[0]= abc
  15. st= ['a', 'ab', 'abc']
  16. s[0]= c
  17. s[1:]=
  18. prefix= a
  19. prefix+s[0]= ac
  20. st= ['a', 'ab', 'abc', 'ac']
  21. s[0]= b
  22. s[1:]= c
  23. prefix=
  24. prefix+s[0]= b
  25. st= ['a', 'ab', 'abc', 'ac', 'b']
  26. s[0]= c
  27. s[1:]=
  28. prefix= b
  29. prefix+s[0]= bc
  30. st= ['a', 'ab', 'abc', 'ac', 'b', 'bc']
  31. s[0]= c
  32. s[1:]=
  33. prefix=
  34. prefix+s[0]= c
  35. st= ['a', 'ab', 'abc', 'ac', 'b', 'bc', 'c']
  36. ['a', 'ab', 'abc', 'ac', 'b', 'bc', 'c']
clone this paste RAW Paste Data