From ab1abe1fae7d396f7338f67e45105d9eecfb9bb3 Mon Sep 17 00:00:00 2001 From: Sanjana Purbia <71418488+SanjanaPurbia@users.noreply.github.com> Date: Wed, 21 Jul 2021 17:23:13 +0530 Subject: [PATCH] Basic --- largeNo.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 largeNo.py diff --git a/largeNo.py b/largeNo.py new file mode 100644 index 0000000..de62197 --- /dev/null +++ b/largeNo.py @@ -0,0 +1,7 @@ +l = int(input("Enter number (grater than three digit number):-")) +if l >=3: + k = str(l) + k = int(k[-2]) + print(k) +else: + print("Number have less than three digit") \ No newline at end of file