DEV Community

Discussion on: Daily Challenge #201 - Complete the Pattern

Collapse
 
ganesh profile image
Ganesh Raja

Python one-line solution

[print(str(i)*i) for i in range(1,n+1)]