fork download
  1. character = "A"
  2. // How
  3. max = 5
  4.  
  5. counter = 0
  6. top = ""
  7. bottom = ""
  8. while counter < max
  9. top += "\t"*(max-counter)
  10. if counter != 0
  11. top += character + "\t"*(counter*2)
  12. end
  13. top += character + "\n"
  14. if counter != (max - 1)
  15. //bottom = "\t"*(max-counter) + bottom
  16. bottom = character + bottom
  17. bottom = character + "\t"*(counter*2) + bottom
  18. bottom = character + "\n" + bottom
  19. end
  20. character /= 1
  21. counter++
  22. end
  23.  
  24. >>top+bottom
Success #stdin #stdout 0.01s 6768KB
stdin
Standard input is empty
stdout
					A
				B		B
			C				C
		D						D
	E								E
D
D						DC
C				CB
B		BA
AA