43.8k views
1 vote
Create a Python script that will compare two (2) numbers entered by the user. Refer to the attached image and to the following algorithm. There is no need to create a class similar to how Java works.

3.1. User enters the first number.
3.2. User enters the second number.
3.3. If the first number is less than, greater than, or equal the second number, a message is displayed.
Please Help me. Thank You!
Marry Christmas!​

1 Answer

0 votes

Answer:

number1 = input("Choose a first number: ")

number2 = input("Choose a second number: ")

if number1 >= number2:

print("Number 1 is greater")

User Vereonix
by
4.9k points