Commit 0933dfc
authored
Update flyod.py
The Floyd's triangle is a right-angled triangle that contains consecutive natural numbers. For example if we have defined 5 rows in Floyd's triangle, it generates the following output
1
2 3
4 5 6
7 8 9 101 parent e4cbb58 commit 0933dfc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments