def multiply_numbers(x, y): return x * y num1 = int(input("Enter first number: ")) num2 = int(input("Enter second number: ")) result = multiply_numbers(num1, num2) print(f"The product of {num1} and {num2} is {result}.")
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter