Skip to content
This repository was archived by the owner on Dec 19, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ Check bellow code as referance.
| Bhavik Agrawal | <a href="https://github.com/Bhavik0902?">Bhavik0902</a> | <a href="bhavikagrawal0902@gmail.com">Mail</a> |
| Arn Arn | <a href="https://github.com/arn355">arn355</a> | <a href="mailto:arn.arn3328@gmail.com">Mail</a> |
| Sarthak Roy | <a href="https://github.com/sarthakroy2002">sarthakroy2002</a> | <a href="sarthakroy2002@gmail.com">Mail</a> |

| Ankit Goyal| <a href="https://github.com/Ankit9126">Ankiit9126</a> | <a href="ankit9126goyal@gmail.com">Mail</a> |
<br/>
<h2>🖥️ Happy Hacking...</h2>
16 changes: 16 additions & 0 deletions Python/reversenumberdecrement.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# output:
# 1
# 2 1
# 3 2 1
# 4 3 2 1
# 5 4 3 2 1

# PROGRAM:

# first we take no. of rows
rows = 6

for i in range(1, rows):
for j in range(i, 0, -1):
print(j, end=' ')
print("")