Computer Science, asked by madyjoshi, 5 months ago

find the sum and average of three numbers taken from the user​

Answers

Answered by sambhavgautam6
1
  • #Python Program
  • Sum=0
  • for i in range(3):
  • a=int(input("enter the number::"))
  • Sum+=a
  • avg =sum/3
  • print("sum is:",Sum)
  • print("avg is:",avg)

Similar questions