From b4d680af2523d26f5ad645da6727071dbda5d98f Mon Sep 17 00:00:00 2001 From: atishayjn Date: Wed, 12 Sep 2018 12:47:29 +0000 Subject: [PATCH] File Added --- 2018B5PS0908G.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 2018B5PS0908G.py diff --git a/2018B5PS0908G.py b/2018B5PS0908G.py new file mode 100644 index 0000000..0b7b22a --- /dev/null +++ b/2018B5PS0908G.py @@ -0,0 +1,9 @@ +a="2018B5PS0908G" +sum=0 +i=0 +for i in range(13): + if(isdigit(a[i])): + sum=sum+int(a[i]) + +print(sum) +