# Arup Guha
# 2/10/2024
# Solution to Junior Knights Random Numbers Homework Problem B

import random

def main():

    # Repeat 50 times!
    for i in range(50):

        # Generate both dice.
        d1 = random.randint(1,20)
        d2 = random.randint(1,20)

        # Calculate and print total.
        total = d1 + d2
        print("The dice sum to ", total, ".", sep = "")

# Run it!
main()
