Update appNew update is available. Click here to update.
About
Enthusiastic Web Developer graduated with knowledge in coding and design. Propensity to learn new software and technologies quickly. Capability to work in teams by providing valuable support with...
Lovely Professional University 2024
My Stats
EXP gained
yellow-spark
4442
Level
5 (Champion)
Community stats
Discussions
0
Upvotes
0
Know more
284
Total problems solved
279
Easy
5
Moderate
0
Hard
0
Ninja
Jan Jan Feb Feb Mar Mar Apr Apr May May Jun Jun Jul Jul Aug Aug Sep Sep Oct Oct Nov Nov Dec Dec

Current streak:

0 days

Longest streak:

7 days

Less

More

Achievements
1
Sensei
Guided path
Basics of python
Discussions
Simple Solution of this program
Interview problems

#Your code goes here

 

number = input()  

eSum = 0

oSum = 0

 

for i in range (0,len(number)):

    n = int(number[i])

    if n % 2 == 0:

        eSum += n

    else:

        oSum += n

print(eSum,oSum)

profile
Mannu12204749
Published On 29-Oct-2023
48 views
0 replies
0 upvotes