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!
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
Explain the process of creating a switch statement to replace an if-then-else statement in Java.
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.
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
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
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.
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
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?
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
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
Answer:
Windows
Explanation:
Answer:
Its Windows
Explanation:
The pins on the temperature sensor are connected to;
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
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
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
Which of these games was a racing game?
A.
Centipede
B.
Pole Position
C.
Xevious
D.
Galaxian
E.
Space Invaders
Answer:
pole position
Explanation:
its a arcade racing game
What is the definition of bug?
can someone help me?
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:
Answer:
A number line?
Which one do u prefer Xbox, Playstation, Nintendo
look plz help :))))))))))))))))))))
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.
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
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
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.
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
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
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
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.
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
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.
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