DEV Community

Durga Pokharel
Durga Pokharel

Posted on

Day 51 Of 100DaysOfCode: Sum Of Two Numbers

Today is my 51th day of #100Daysofcode and #python learning. Today I started to studied Algorithmic Toolbox. First course of Data Structures and Algorithms Specialization. I want to learn algorithms before diving into projects so I am doing this course.

Python code

Here is python code for today,

def sum_of_two_digits(first_digit, second_digit):
    return first_digit + second_digit

a, b = map(int, input().split())
print(sum_of_two_digits(a, b))
Enter fullscreen mode Exit fullscreen mode

Output of above code is,

100 200
300
Enter fullscreen mode Exit fullscreen mode

Day 51 Of #100DaysOfCode and #Python
* https://t.co/UxGBUoj3RwAlgorithmic Toolbox
* Sum Of Two Digit#WomenWhoCode #DEVCommunity #CodeNewbie #100DaysOfCode #beginner pic.twitter.com/iPRFVc3Efo

— Durga Pokharel (@mathdurga) February 14, 2021

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay