From d047b54b04b7e2ed98a0f42be14a16d661abac5d Mon Sep 17 00:00:00 2001 From: Nischay mrzn <129774293+Nischaymrzn@users.noreply.github.com> Date: Mon, 28 Oct 2024 12:08:09 +0545 Subject: [PATCH] Create countdown_from.py --- Python/countdown_from.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Python/countdown_from.py diff --git a/Python/countdown_from.py b/Python/countdown_from.py new file mode 100644 index 0000000..a6dedb9 --- /dev/null +++ b/Python/countdown_from.py @@ -0,0 +1,4 @@ +def countdown_from(n): + while n >= 0: + print(n) + n -= 1