Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pair_of_numbers = int(input())
- total_sum = 0
- current_sum = 0
- for i in range(1, pair_of_numbers + 1):
- number_one = int(input())
- number_two = int(input())
- current_sum = number_one + number_two
- total_sum += current_sum
- if total_sum / pair_of_numbers == current_sum:
- print(f"Yes, value={current_sum}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement