Batter Up
This commit is contained in:
3
batterup.py
Normal file
3
batterup.py
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
_ = input()
|
||||||
|
at_bats = [x for x in map(int, input().split()) if x >= 0]
|
||||||
|
print(sum(at_bats) / len(at_bats))
|
||||||
Reference in New Issue
Block a user