Floyd's Triangle

Note

A Floyd’s Traingle for n=4 is this:

1
23
456
78910

Java

Python

** Use Python 3.5 to get end="" for print. **