Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Sum of two numbers
# Python3 program to add two numbers number1 = input("First number: ") number2 = input("\nSecond number: ") # Adding two numbers # User might also enter float numbers sum = float(number1) + float(number2) # Display the sum # will print value in float print("The sum of {0} and {1} is {2}" .format(number1, number2, sum))
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Chtkav
Palindrome using recursion
Hello world
kenken1
Python_Hello_World
Uniform Cost Search
calculate the sum of string 201test70de88qa ( only numbers)
sen
Temp
Python3 - PDF PAGES SEPARATION
Please log in to post a comment.