From 08f5b359246a64761708c8ff515e1cf998f438dc Mon Sep 17 00:00:00 2001 From: f2018B3PS0754 Date: Wed, 12 Sep 2018 19:27:07 +0530 Subject: [PATCH] task done --- 2018B3PS0754G.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 2018B3PS0754G.py diff --git a/2018B3PS0754G.py b/2018B3PS0754G.py new file mode 100644 index 0000000..e3fbe8f --- /dev/null +++ b/2018B3PS0754G.py @@ -0,0 +1,6 @@ +sum=0 +for i in "2018B3PS0754": + if i.isdigit(): + sum=sum+int(i) +print(sum) +