Get comprehensive answers to your questions with the help of IDNLearn.com's community. Our Q&A platform is designed to provide quick and accurate answers to any questions you may have.

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!​


Sagot :

Answer:

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

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

if number1 >= number2:

print("Number 1 is greater")