fb pixel

Growing triangle

You are asked to draw a triangle of height n where the numbers always increase by 1.
Input
Output
4
1 2 3 4 5 6 7 8 9 10
 
To check your solution you need to sign in
Sign in to continue