input_nums=list(map(int,input("Enter the numbers separated by space:").split()))
input_nums.sort(reverse=True)
max_product=input_nums[0]*input_nums[1]
print("Maximum Product:",max_product)
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