Python Code To Input Three Numbers. Display The Sum And Average Of Three Number.
Solution
n1 = int(input(“Enter first number:- “)) n2 = int(input(“Enter Second number :- “)) n3 = int(input(“Enter third number :- “)) sum = (n1 + n2 + n3) avg = sum/3 print(“Sum of three numbers=”,sum) print(“Average of three numbers=”,avg)
Fun & Easy to follow
Works on all devices
Your own Pace
Super Affordable
Popular Videos
Play Video
UX for Teams
Learn the basics and a bit beyond to improve your backend dev skills.
Chris Matthews
Designer
Play Video
SEO & Instagram
Learn the basics and a bit beyond to improve your backend dev skills.