TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Adding Two Number In python
Sr Karthiga
Aug 09
2016
Code
799
0
1
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
twoAdd.zip
num1 = input(
'Enter first number: '
)
num2 = input(
'Enter second number: '
)
# Add two numbers
sum =
float
(num1) +
float
(num2)
# Display the sum
print(
'The sum of {0} and {1} is {2}'
.format(num1, num2, sum))
Add two Number
Python