Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- total = 0.0
- count = 3.0
- print ('Please enter 3 numbers to be averaged.')
- a = input ('First Number: ')
- b = input ('Second Number: ')
- c = input ('Third Number: ')
- answer = a+b+c+'total'
- print (answer)
- print ('The average of a, b, and c is', answer / count )
Add Comment
Please, Sign In to add comment