Created
September 11, 2019 16:17
-
-
Save DuncantheeDuncan/798361169cab24c5d274cf3146005b02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# taking user input from the user | |
space ="\n" | |
print space | |
one = input("enter the first number ") | |
two = input("enter the second number ") | |
three = input("enter the third number ") | |
four = input("enter the fourth number ") | |
five = input("enter the fifth number ") | |
print space | |
print space | |
# Displaying the output from the user. | |
print "you entered ", one ," as your first number" | |
print "you entered ", two ," as your second number" | |
print "you entered ", three ," as your third number" | |
print "you entered ", four ," as your fourth number" | |
print "you entered ", five ," as your fifth number" | |
answer = one+two+three+four+five | |
print space | |
print "The sum of the five integer value is :",answer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment