You have a program that is supposed to take two inputs from the user and turn them into integers to be compared later. Fix all the errors in this program, make it properly compare variables, and print the result.
Make it work!
Report a typo
Sample Input 1:
8
11Sample Output 1:
The second one winsSample Input 2:
5
5Sample Output 2:
DrawWrite a program in Python 3
first = input()
if first > second:
print("The first one wins")
elif second > "first":
print("The second one wins")
else:
print(Draw)
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.