1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Pachacha [2.7K]
3 years ago
13

Create a Python script that will compare two (2) numbers entered by the user. Refer to the attached image and to the following a

lgorithm. 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!​
Computers and Technology
1 answer:
Anna007 [38]3 years ago
6 0

x = int(input("Enter first number\n"))

y = int(input("Enter second number\n"))

if x > y:

   print(x, "is greater than", y)

elif x < y:

   print(x, "is less than", y)

else:

   print(x, "is equal to", y)

i'm not the greatest coder, but it works :)

You might be interested in
A ________ allows users to add, remove, or edit its content. Select one: A. blog B. podcast C. wiki D. chat
riadik2000 [5.3K]

Answer: C) wiki

Explanation:

Wiki is defined as website that is used for updating, adding, eliminating and other editing activities with the help of web browser.This mechanism is a quick technique for modifying content by visitors of the website.Example-Wikipedia etc.

  • Other options are incorrect because blog, chat and podcast are not used for manipulation of content present on site through features of adding ,editing etc.
  • Thus, the correct option is option(C).
7 0
4 years ago
I need help please :((((<br> I need it in python
Bezzdna [24]
Take this one step at a time. Your teacher has given you the code for step 1. Now write step 2. Then 3, and so on.

For step 2: if you're using Python v2.x you'd use a line like

guess = int( raw_input( "Take another guess: " ) )

For Python v3.x it would be:

guess = int( input( "Take another guess: " ) )

Break it down into small pieces, it's not a complicated assignment.
7 0
3 years ago
Which of the following menu commands would you select to make a copy of an open file and rename it
egoroff_w [7]
The menu command that you would <span>select to make a copy of an open file and rename it is SaveAs. </span>
5 0
3 years ago
Read 2 more answers
Which option is the easiest way to configure macros in Access 2016?
zhuklara [117]
Number 2
Have a nice day
6 0
3 years ago
The output of a combiner is normally fed into a
ankoles [38]

The output of a combiner is normally fed into a mask filter. Check more about output below.

<h3>What is output?</h3>

Output is known to be that which is gotten from the act of making of anything or the amount of a thing that is processed.

Note that he output of a combiner is normally fed into a mask filter as it is the first point of contact.

Learn more about output  from

brainly.com/question/20727977

#SPJ2

7 0
2 years ago
Read 2 more answers
Other questions:
  • Write a function cipher(plaintext, n) to shift all characters in a string of text. Your function should take 2 parameters, the p
    15·1 answer
  • 1. Think about the various ways in which you have seen hackers portrayed in popular media over the past few years. Are they hero
    11·1 answer
  • The answer for 1 and 2
    5·1 answer
  • How can touch typing quickly but accurately improve your earnings (the money you can make)
    15·2 answers
  • Which choice lists two image formats that support transparency
    6·2 answers
  • Which network component allows computers to communicate on a network without being connected directly to each other?
    9·1 answer
  • Select the organizational skills that can help with
    6·1 answer
  • What is the printout for the first statement in the main method?
    13·1 answer
  • What type of values are typically stores in unweighted graphs
    5·1 answer
  • 8.7 lesson practice question 1
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!