import random
# Generate two random numbers
num1 = random.randint(1, 100)
num2 = random.randint(1, 100)
# Generate a random operator
operator = random.choice(['+', '-', '*', '/'])
# Perform the calculation
if operator == '+':
result = num1 + num2
elif operator == '-':
result = num1 - num2
elif operator == '*':
result = num1 * num2
elif operator == '/':
# Check for division by zero
if num2 == 0:
result = "Division by zero is not allowed"
else:
result = num1 / num2
# Print the calculation and result
print(f"{num1} {operator} {num2} = {result}")