Created
May 13, 2020 09:07
-
-
Save sanikamal/36cc231f615fc806103a434f1fea6dd9 to your computer and use it in GitHub Desktop.
Python Program to find sum and average of three number
This file contains hidden or 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
a = input('Enter 1st Number : ') | |
b = input('Enter 2nd Number : ') | |
c = input('Enter 3rd Number : ') | |
a = int(a) | |
b = int(b) | |
c = int(c) | |
sum = a + b + c | |
avg = sum / 3 | |
print('Sum of all 3 Numbers is {}'.format(sum)) | |
print('Average of all 3 Numbers is {}'.format(avg)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment