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
Enter fullscreen mode Exit fullscreen mode

Day 51 Of #100DaysOfCode and #Python
* Toolbox
* Sum Of Two Digit#WomenWhoCode #DEVCommunity #CodeNewbie #100DaysOfCode #beginner

— Durga Pokharel (@mathdurga) February 14, 2021

Discussion (0)