Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- score = int(input("what is your judges score for person1"))
- while score < 0 and score > 10:
- print("error score needs to be below 10 and above 0")
- score = int(input("what is your judges score for person1"))
- ScoreArray.append(score)
- print (ScoreArray)
- max1 = 0
- for item in ScoreArray:
- if item > max1:
- max1 = item
- ScoreArray.remove(max1)
- print (max1)
- min1 = 0
- for item2 in ScoreArray:
- if item2 < min1:
- min1 = item2
- ScoreArray.remove(min1)
- print (min1)
- print (ScoreArray)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement