help plz

1. Write a function to return the larger of two numbers entered from two user inputted values, where the user inputs are entered after the displays of “First Entry =” and “Second Entry = ”. The numbers should be decimal values (not just integers).



2. Write a function to return the word that is first alphabetically from two user inputted text entries, where the user inputs that text by entering their own words after the displays of “First Entry =“ and “Second Entry =“. Remember that you can use the operators with strings. (You can assume that the user only inputs lower case words.)

Answers

Answer 1

1.

first = float(input("First Entry = "))

second = float(input("Second Entry = "))

def func(num1, num2):

   return max(num1, num2)

print(func(first, second))

2.

first = input("First Entry = ")

second = input("Second Entry = ")

def func(word1, word2):

   return sorted([word1,word2])[0]

print(func(first, second))

I hope this helps!

Answer 2

In this exercise we have to use the knowledge of computational language in python to write the following code:

The code can be found in the attached image.

That way, to find it more easily we have the code like:

First code:

first = float(input("First Entry = "))

second = float(input("Second Entry = "))

def func(num1, num2):

  return max(num1, num2)

print(func(first, second))

Second code:

first = input("First Entry = ")

second = input("Second Entry = ")

def func(word1, word2):

  return sorted([word1,word2])[0]

print(func(first, second))

See more about python at brainly.com/question/26104476

Help Plz1. Write A Function To Return The Larger Of Two Numbers Entered From Two User Inputted Values,
Help Plz1. Write A Function To Return The Larger Of Two Numbers Entered From Two User Inputted Values,

Related Questions

Explain the process of creating a switch statement to replace an if-then-else statement in Java.

Answers

Answer:

The answer to this question is given in the explanation section.

Explanation:

Let look at an if the else statement

if (condition1) {

 //some code if condition 1 is true

} else if (condition2) {

 // some code if condition 2 is true

} else {

 // some code if condition 3 is true

}

No let look at switch statement

switch(expression) {

 case x:

   // code block

   break;

 case y:

   // code block

   break;

 default:

   // code block

Now let look at your answer.

if then else should be replaced with switch if conditions are fixed.

in the process of replacing

write your condition of if statement  in the case area of swatch

Answer:

The answer to this question is given in the explanation section.

Explanation:

Let look at an if the else statement

if (condition1) {

//some code if condition 1 is true

} else if (condition2) {

// some code if condition 2 is true

} else {

// some code if condition 3 is true

}

No let look at switch statement

switch(expression) {

case x:

  // code block

  break;

case y:

  // code block

  break;

default:

  // code block

Now let look at your answer.

if then else should be replaced with switch if conditions are fixed.

in the process of replacing

write your condition of if statement  in the case area of swatch

Select the correct text in the passage.

Which phrase is noise in the process of communication?

Ben wanted to call his friend Kevin for a game of football. He rang up Kevin and was about to mention the game. Just then, a car nearby honked loudly. Kevin said that he couldn’t hear what Ben said. Ben then repeated what he had said earlier.

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

As you know that noise distracts the process of communication. It is anything that distorts a message between two communicators. Noise can take many forms, such as playing the radio in the background, another person interfering with the conversation, and any other distraction that prevent the receiver from paying attention to what the sender is saying.

So, in this question, the noise phrase in the given passage is written in bold.

Ben wanted to call his friend Kevin for a game of football. He rang up Kevin and was about to mention the game. Just then, a car nearby honked loudly. Kevin said that he couldn’t hear what Ben said. Ben then repeated what he had said earlier.

A car honked nearly when Ben and Kevin are communicating with each other is considered noise. A car honked is a noise in the process of communication.    

Answer:

Just then, a car nearby honked loudly.

Explanation:

PLATO

print("Student" == "Teachers" or 99 != 88) will output False

true or false

Answers

Answer:

it will output True, so the statement is false

Explanation:

Python 3 requires a special pseudocode that other programming languages do not use.
OA
True
B.
False
Reset
Next

Answers

Answer:

A

Explanation:

Not sure how to explain...

What is the advantage of using keys in a database?
Keys________
records of one table with the others.

Answers

Answer:

identify

Explanation:

Answer:

Identify

Explanation:

______means to set a variable equal to a known value before a
loop.
A. Initialize
B. Sum
C. Output
D. Input

Answers

A. initialize

I hope this helped!

I would appreciate it if you gave me a thanks and brainliest (:

Lucy is completing a project as part of a science class using materials she found online. Which of the following is MOST LIKELY to lead to legal consequences?

Answers

Answer:

D.

Explanation:

Most students would fail to realize that the pictures they use also need citations so that would be the MOST LIKELY to lead to legal consequence.

lol

what are hard ware and software requirments in multimedia computer system
if u can answer i will mark u as brainilst please help me​

Answers

Answer:

Some hardware requirement: Monitor, keyboard, mouse, sound card, memory, processor, graphics display card. Some software requirement: Windows XP/Vista, Video for Windows, Quicktime.

Explanation:

BRAINLEST

Which is an example of an operating system? (5 points)
Adobe Photoshop
Internet Explorer
Windows
Microsoft Word

Answers

Answer:

Windows

Explanation:

Answer:

Its Windows

Explanation:

The pins on the temperature sensor are connected to;

Answers

A temperature sensor creates a changing voltage signal depending on the temperature it senses. It has three pins: one that connects to ground, another that connects to 5 volts, and a third that outputs a variable voltage to your Arduino, similar to the analog signal from a potentiometer.

Now that he is employed, Martin wants to start making plans to purchase a new home. Martin's plan to save up for a down payment within 1 to 5 years is an example of a(n) __________-term goal. Group of answer choices

Answers

Answer:

long term goal

Explanation:

A long-term goal is an achievable a person seeks to accomplish within a certain period of time, typically in years. A series of short-term goals can sum up to a long-term goal. Martin's down payment plan to get a loan on a house within 5 years is a long term goal

What are like arms surrounding all the other code blocks?
A. chevrons
B. curly braces
C. square braces
D. parentheses

Answers

Answer:

Parenthesis

Explanation:

I code

Answer:

Its curly braces.

Your welcome!

do you have to be in hard mode in terraria to make the timeless traverler vanity set

Answers

Answer: it can only be crafted in corruption world unless you create an artificial corruption biome.

Which of these games was a racing game?
A.
Centipede
B.
Pole Position
C.
Xevious
D.
Galaxian
E.
Space Invaders

Answers

Answer:

pole position

Explanation:

its a arcade racing game

What is the definition of bug?​

Answers

In what way is it used?

can someone help me?

Answers

Answer:

2nd one

Explanation:

Answer:

A

Explanation:

3*6+2/2 = 19

(3*6)+2/2 = 19

3*(6+2/2) = 21

100 points, PLEASE HELP...To generate numbers between and including -10 to 10 you would use:

Answers

Answer:

A number line?

Which one do u prefer Xbox, Playstation, Nintendo ​

Answers

Mobile And PC Gaming

look plz help :))))))))))))))))))))

Answers

Answer:

false

Explanation:the answer is false

WILL GIVE BRAINLIEST! 20 POINTS! PLZ HELP!

What does the following line of code do?

if (num2==50){

A. It creates a variable called num2 and sets it equal to 50.

B. It checks whether a variable called num2 is equal to 50.

C. It prints num2 == 50.

D. It requests user input if the variable num2 is equal to 50.

Answers

Answer:

B

Explanation:

== returns true if both the left side and right side are equal

Answer:

D

Explanation:

Random.choice will choose a number between 1 and 100. True False​

Answers

Answer: False.

Explanation: Random.choice can choose between any 2 numbers.

Answer:

The person above me is right

Explanation:

Edge 2022

To format a picture to look like a sketch or a painting you can add a(an)
A. picture style
B. artistic effect
C. reflection effec
D. none of the above

Answers

Answer:

C(reflection effect)

Explanation:

reflection effect

Select all the correct answers.

Which two statements about resistors are true?

1. Series resistors produce a lower resistance than the same parallel resistors.
2. Resistors impede the current flowing through a circuit.
3. Resistors increase the voltage through a circuit.
4. Series resistors produce a higher resistance than the same parallel resistors.
5. Parallel resistors allow more current to pass through than no resistors.

Answers

Explanation: 2 and 5

Answer:

resistors reduce current flow and divide voltages, so 2 & 3!

A large corporation uses:
A.
LAN
B.
WAN
C.
Wireless network
D.
Ethernet connection

Answers

Answer:

WAN

but im saying this bc you cant mark brainliest with only 1 answer there

Answer:

B: WAN

Explanation:

WILL GIVE BRAINLIEST!!! 15 POINTS!! HELPPPP!!

Tonya wants to add a button to a webpage. Which language should be used?

A. Python

B. HTML

C. JavaScript

D. CSS

Answers

Answer:

B and C both will be right answers

Answer:

B and C are both correct answers

Explanation:

only true naruto fans know
who is behide the mask in akatsuki
A madara
B Sasuke
C Obito
D Ten tails

Answers

Answer:

obito duh, its Tobi the orange masked one he acts like madara but we know it's his simp guy

Answer:

Obito

Explanation:

cuz obito

A software license gives the owner the to use software.

Answers

Answer:

You answer would be D

Legal right

Explanation:

A software license is the legal right to use and share software.

The license grants or denies permission to:

-share the software with other users.

-use the software on more than one computer.

Many licenses come with support, if needed.

-Edge 2020

A software license gives the owner the legal right to use the software. Thus, option A is correct.

What exactly is a license?

A license can be defined as a part in which a person needs authority or permission to perform a specific action for which he may require a registered document from the government known as a license.

A software lesson season legal entity that is being provided to a person who is uses the legal right to operate a particular system he has the just right to do what is required.

A software license seems to be a legally binding contract that outlines the terms and conditions for the use of software available. Computer users are often granted the ability to make one or even more reproductions of the application without infringing on third-party rights.

Therefore, option A is the correct option.

Learn more about license, here:

https://brainly.com/question/24288054

#SPJ6

The question is incomplete, the complete question will be:

A software license gives the owner the _____ to use software.

human right

understanding

password

legal right


Activity
You have learned about the graphical elements that you can add in a spreadsheet. Create your own spreadsheet using these elements.
Question 1
Create a chart using the sample data in the table below. Recollect the steps on how to create a chart, and explain the necessary steps based on
the data in the table. Mention what the x- and the y-axes state and your interpretation of the data represented in the chart.
Year Percentage Increase in Expenses
2005
25.3
2007
30
2009
35
2011
35.8
2014
40

please help

Answers

Answer:

its a

Explanation:

the answer is a i am right

Answer:

Here are the steps I followed to create the chart on the Microsoft Excel spreadsheet.

I clicked the Insert option from the top toolbar.

I clicked the Chart option.

I clicked Chart Type, and selected the type of chart I wanted. The table above provides data on the increase in percentage of expenses over the years. I chose the Column chart to display this data graphically. The column chart is the best form of chart that can show variation between items.

I selected the Data Range. I specified the start and end values of the data set that I wanted to plot in the chart.

Under Chart Elements, I specified the title and legend for the chart. A legend makes it easy for a viewer to understand a titled graph.

The x-axis represents the year in my column chart, and the y-axis shows the percentage increase in expenses per year. With the help of this chart, I could see that every year the percentage in expenses has increased steadily, and reached the highest value in 2014.

Explanation:

This is really close to the sample answer, so I would be careful...

True or false. The PIC is an inter grated circuit in which the microprocessor architecture, along with read only memory (ROM) and random access memory (RAM), are all placed into one integrated circuit that may be reprogrammed; the microprocessor cannot.

Answers

Answer:

your partner in crime can not ROM around without a RAM.

Explanation:

so it would be false.

Teens are more likely to access the news online or by watching the news on TV.
OA. True
OB. False

Answers

The answer is True.
Other Questions
what is the changing in the maze runner Select the correct answer.Rewrite the following equation as a function of x. Can someone help me on these questions? need help with the last 2 numbers PLZ HEPLPPThe Preamble to the US Constitution sets some of the basic purposes of the US Government. What are 2 of these purposes (use the 5 purposes of government as stated in class (use the 5 purposes of government as stated in class (Protection, Economic Stability, Order, Conflict Resolution, and Public Services), how are these 2 worded in the preamble, and what do they mean to you? This event was evidence that the issue of slavery could only lead to furtherdivision and violence. what is 3^6 x 3? Plz show how you solved it! g You heard the sound of a distant explosion (3.50 A/10) seconds after you saw it happen. If the temperature of the air is (15.0 B) oC, how far were you from the site of the explosion Which two lines are parallel? First right answer get brainliest!5y=-3x-55y=-1-3x3y-2x=-1Answer choices: II and IIINo, two of the lines are parallel.I and III and III What is Hamlet really referring to when he speaks about sleep and dreams? Can someone translate this into spanish? I need this ASAP!!Pen Pal emailHere is my, finished, pen pal email!Hello Pen Pal,I am ______ and I like to watch The Office (US) and design. I dislike bullies and online school. I have three questions for you. What is your favorite color? What is your favorite T.V show (if any)? What is your favorite hobby?Sincerely, _______(I am not disclosing my name to the public of Brainly yet) Kristina, Liz, and Heather all made cookies. Kristina made 1.8 dozen less than 6 times as many dozen as Heather. Liz made 2.7 dozen more than 5 times as many dozen as Heather. If Kristina and Liz made the same number of cookies, how many dozen cookies did Heather make? A student is looking for an element to react with lithium to create the most vigorous reaction possible. To which direction on the periodic table should the student look?A. Lower leftB. Upper leftC. Lower rightD. Upper right Complete the sentence.80% of ___ games is 16 games.How many total games were there? The two lines representthe amount of water, over time, in two tanks that are the same size. Which container is filling more quickly? Explain how you know. Compare and contrast: identify differences and similarities between Christmas today and colonial Christmas, then write a paragraph explaining how Christmas has changed today. Mrs. Williams teaches preschool. At snack time on Monday, Mrs. Williams used 2/3 of a bottle of juice to give 12 students each an equal amount of juice. On Tuesday Mrs. Williams gave juice to 21 students. what does hissed mean a.cheered b.growled c.whispered d.yelled Grandma's age is 6 years less than 5 times Junior's age, j. If Grandma is 64 years old, which equationcan be used to find Junior's age?Helppp PLS HELP WILL GIVE BRANLIEST