import sys
def main():
with open('input.txt', 'r') as f:
a, b = f.read().split()
a = int(a)
b = int(b)
c = a + b
with open('output.txt', 'w') as f:
f.write(str(c))
if __name__ == '__main__':
main()
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
import sys
def main():
with open('input.txt', 'r') as f:
a, b = f.read().split()
a = int(a)
b = int(b)
c = a + b
with open('output.txt', 'w') as f:
f.write(str(c))
if __name__ == '__main__':
main()