Created
December 3, 2023 13:53
-
-
Save KAnanev/db094f7e837c2bb3d0d6a07a89d535f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
def main(): | |
num_lines = int(input()) | |
output_numbers = [] | |
for i in range(num_lines): | |
line = sys.stdin.readline().rstrip() | |
value_1, value_2 = line.split() | |
value_1 = int(value_1) | |
value_2 = int(value_2) | |
result = value_1 + value_2 | |
output_numbers.append(str(result)) | |
print('\n'.join(output_numbers)) | |
if __name__ == '__main__': | |
main() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment