Demo entry 6341955

python 5 lines

   

Submitted by anonymous on Jan 05, 2017 at 10:37
Language: Python. Code size: 233 Bytes.

round1 = int(raw_input("Enter score for round 1: "))

round2 = int(raw_input("Enter score for round 2: "))

round3 = int(raw_input("Enter score for round 3: "))

# Calculate the average
average = (round1 + round2 + round3) / 3

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).