from random import randrange

nums = []
for i in range(10):
  num = randrange(100)
  num_s = str(num)
  nums.append(num_s)

with open('randoms.txt', 'w') as file:
  content = ' '.join(nums)
  file.write(content)

with open('randoms.txt') as file:
  nums = file.readline().split()
  nums = map(lambda num: int(num), nums)

sum = sum(nums)
print(f"Sum: {sum}")

d714007238bfcf53c88664797625688a34d902b1
<mask token>

<mask token>
for i in range(10):
    num = randrange(100)
    num_s = str(num)
    nums.append(num_s)
with open('randoms.txt', 'w') as file:
    content = ' '.join(nums)
    file.write(content)
with open('randoms.txt') as file:
    nums = file.readline().split()
    nums = map(lambda num: int(num), nums)
<mask token>
print(f'Sum: {sum}')

<mask token>
nums = []
for i in range(10):
    num = randrange(100)
    num_s = str(num)
    nums.append(num_s)
with open('randoms.txt', 'w') as file:
    content = ' '.join(nums)
    file.write(content)
with open('randoms.txt') as file:
    nums = file.readline().split()
    nums = map(lambda num: int(num), nums)
sum = sum(nums)
print(f'Sum: {sum}')

from random import randrange
nums = []
for i in range(10):
    num = randrange(100)
    num_s = str(num)
    nums.append(num_s)
with open('randoms.txt', 'w') as file:
    content = ' '.join(nums)
    file.write(content)
with open('randoms.txt') as file:
    nums = file.readline().split()
    nums = map(lambda num: int(num), nums)
sum = sum(nums)
print(f'Sum: {sum}')

from random import randrange

nums = []
for i in range(10):
  num = randrange(100)
  num_s = str(num)
  nums.append(num_s)

with open('randoms.txt', 'w') as file:
  content = ' '.join(nums)
  file.write(content)

with open('randoms.txt') as file:
  nums = file.readline().split()
  nums = map(lambda num: int(num), nums)

sum = sum(nums)
print(f"Sum: {sum}")
