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) +