diff --git a/batterup.py b/batterup.py new file mode 100644 index 0000000..76700de --- /dev/null +++ b/batterup.py @@ -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))