#Question 1
num1 = int(input("Enter 1st number: "))
num2 = int(input("Enter 2nd number: "))
if num1 > num2:
print(num1, "is the largest.")
else:
print(num2, "is the largest.")
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