question: write in python to take five input values and output:
a)the highest value
b)the lowest value
c)the average

(i need help with my homework)

Besides from whathaveyoutried.com , I can only say:

values=[int(input("Give the number(%s): " % i)) for i in range(1,6)]
print("Highest: {} \n Lowest: {} \n Average: {}".format(max(values),min(values), sum(values)/len(values)))

But beleve me. You should try something.

commented: Excellent www.whathaveyoutried.com reference. Upsetting to some which is excellent. +9
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.