import random

# Add the 49 balls in a list
balls = []
for number in range(1, 50):
    balls.append(number)

# For displaying the output
order = ["first", "second", "third", "fourth", "fifth", "sixth"]

# Randomly draw the balls
for ball in range(6):

    # Draw a ball from the remaining balls
    index = random.randint(0, len(balls) - 1)

    number = balls[index]
    balls.remove(number)

    print("The", order[ball], "number is", number)
