Consider the following code:

val = 0

while (val > 10):
val = val + 1
print (val)
What is the error?

Group of answer choices

The loop will not stop because val never changes.

It should be val < 10

The loop will not stop since val is counting the wrong direction.

There is no error.

Answers

Answer 1

Answer:

it sholud be val < 10

Explanation:

only right


Related Questions

Adjust the code you wrote for the last problem to allow for sponsored Olympic events. Add an amount of prize money for Olympians who won an event as a sponsored athlete.

The

Get_Winnings(m, s)
function should take two parameters — a string for the number of gold medals and an integer for the sponsored dollar amount. It will return either an integer for the money won or a string Invalid, if the amount is invalid. Olympians can win more than one medal per day.

Here's my answer for question 1 please adjust it thanks!

def Get_Winnings(m):

if m == "1": return 75000

elif m == "2":

return 150000

elif m == "3":

return 225000

elif m == "4":

return 300000

elif m == "5":

return 375000

else:

return "Invalid"

MAIN

medals = input("Enter Gold Medals Won: ")

num = Get_Winnings(medals)

print("Your prize money is: " + str(num))

Answers

Answer:def Get_Winnings(m):

if m == "1": return 75000

elif m == "2":

return 150000

elif m == "3":

return 225000

elif m == "4":

return 300000

elif m == "5":

return 375000

else:

return "Invalid"

MAIN

medals = input("Enter Gold Medals Won: ")

num = Get_Winnings(medals)

print("Your prize money is: " + str(num))

exp: looking through this this anwser seemes without flaws and i dont follow

if you can provide what you are not understanding ican an help

What is computer software?

O A. It is the part of a computer that processes data generated by the
RAM.

O B. It is a peripheral that allows the input of data by a user.

O C. It is the instructions that direct computers how to handle and
display information.

OD. It is storage whose data is deleted when a computer is turned off.
SUBMIT

Answers

Answer:

Software from a computer

Explanation:

it is soft and doesn't ware therfore it is not hardware it exists in technology

Renée’s job entails using a company laptop to constantly open other peoples’ workbooks, sorting the data, importing a new sheet from CSV data, adding one row from the CSV file to the original spreadsheet, using Autosum to add across columns, then finally filling in the cells containing the final sums with a yellow color. This work generally has her using multiple tabs and takes a lot of time, and her keyboard doesn’t support hotkeys because of a mechanical error. How can she use Excel’s features to streamline her work? Explain the exact steps she should take.

Answers

Renée can use Excel’s features to streamline her work by using the Data Tab’s “From Text/CSV” option. This will allow her to quickly import data from a CSV file into her existing spreadsheet without needing to manually enter data.

What is Streamline ?

Streamline is a process improvement method that helps organizations reduce waste and increase efficiency. It is used to analyze existing processes and procedures and identify areas for improvement, streamlining and standardization. Streamline focuses on eliminating unnecessary steps and tasks, reducing costs, and improving quality and efficiency. It also helps organizations to become more organized and efficient by creating an established set of procedures and processes that can be easily followed and tracked. Streamline is an effective tool for increasing productivity and reducing costs in any size organization.

Renée should then use the “AutoSum” feature located under the Home tab. This will allow her to quickly sum across multiple columns without needing to manually enter each number.

Finally, Renée can use the “Format Cells” option located under the Home tab to quickly fill in the cells containing the final sums with a yellow color. This will save her time over manually filling in the cells one by one.

In summary, Renée should take the following steps to streamline her work in Excel:

1. Use the Data Tab’s “From Text/CSV” option to quickly import data from a CSV file into her existing spreadsheet.

2. Use the “AutoSum” feature located under the Home tab for quickly summing across multiple columns.

3. Use the “Format Cells” option located under the Home tab to quickly fill in the cells containing the final.

To learn more about Streamline

https://brainly.com/question/24031036

#SPJ1

What’s the difference between telnet & ping command?

Answers

Telnet and Ping are both networking commands that are used to test and troubleshoot network connectivity. However, they serve different purposes and use different methods to achieve their objectives.

Telnet is a protocol used to establish a connection to a remote computer over a network. It allows a user to access the command line interface of the remote computer and perform tasks as if they were physically present. Telnet can be used to test network connectivity by attempting to establish a connection to a remote server or device.Ping, on the other hand, is a command used to test the connectivity between two devices on a network. It sends a small packet of data to a remote device and waits for a response. If a response is received, it indicates that the two devices are connected and communication is possible. Ping is commonly used to test the availability and response time of a remote device or server. Telnet is used to establish a connection and access a remote computer's command line interface, while Ping is used to test the connectivity and response time between two devices on a network.

To learn more about Ping click the link below:

brainly.com/question/13014215

#SPJ4

Define the method findMinimum() with a Scanner parameter that reads integers from input until a positive integer is read. The method returns the lowest of the integers read.

Ex: If the input is -55 -30 -15 100 50 -5 -45, then the output is:

-55

Note: Positive numbers are greater than 0.

Answers

Answer:

import java.util.Scanner;

public class FindMinimum {

public static int findMinimum(Scanner input) {

int min = Integer.MAX_VALUE;

while (input.hasNextInt()) {

int num = input.nextInt();

if (num > 0) {

min = Math.min(min, num);

break;

} else {

min = Math.min(min, num);

}

}

return min;

}

public static void main(String[] args) {

Scanner input = new Scanner(System.in);

int min = findMinimum(input);

System.out.println(min);

input.close();

}

}

Explanation:

In this implementation, we use a while loop to read integers from input using the hasNextInt() and nextInt() methods of the Scanner class. We keep track of the minimum integer seen so far using the min variable, which is initialized to Integer.MAX_VALUE.

We check if the integer read is positive or not. If it is positive, we update min to be the minimum of the current integer and the previous minimum and break out of the loop. If it is not positive, we update min to be the minimum of the current integer and the previous minimum.

Finally, we return the minimum integer found. In the main() method, we create a Scanner object to read input from System.in, call the findMinimum() method to find the minimum integer, print the result using System.out.println(), and close the Scanner object.

An implementation of the findMinimum() method in Java:

import java.util.Scanner;

public class Main {

   public static void main(String[] args) {

       Scanner scanner = new Scanner(System.in);

       int min = findMinimum(scanner);

       System.out.println(min);

   }

   

   public static int findMinimum(Scanner scanner) {

       int min = Integer.MAX_VALUE;

       while (scanner.hasNextInt()) {

           int num = scanner.nextInt();

           if (num > 0) {

               min = Math.min(min, num);

               break;

           }

           min = Math.min(min, num);

       }

       return min;

   }

}

Why do we use the findMinimum() function in java?

The findMinimum() method in Java can be used to find the minimum positive integer from a sequence of integers entered by the user through the console or a file. we can also use this method to find the minimum positive integer from a file. To do this, you need to create a Scanner object that reads input from the file instead of the console.

1. The findMinimum() method takes a Scanner object as a parameter, which is used to read input from the user.

2. The method initializes the minimum value to Integer.MAX_VALUE so that any input value will be less than the initial minimum.

3. The method then enters a loop to read integers from the input stream until a positive integer is read. If the input is not positive, it updates the minimum value if the input is less than the current minimum value.

4. Once a positive integer is read, the method breaks out of the loop and returns the minimum value.

Therefore, In the main() method, we create a Scanner object to read input from the user, call the findMinimum() method with the scanner object, and print the result to the console.

To learn more about java functions click here

https://brainly.com/question/20814969

#SPJ1

In a(n) _______________ loop, you know ahead of time how many times the loop will repeat.
Group of answer choices

count variable

initialization

condition

user input

Answers

Answer:

count variable

Explanation:

project stem 6.7 code

Answers

Answer:

I would like the programming language as well as the assignment

How does this skill honed and improved by internet technology?

Answers

Internet technology can hone and improve this skill by providing access to an abundance of resources, such as articles, tutorials, and videos.

People now have access to a wealth of knowledge on a wide range of subjects thanks to the internet.

The creation of tools and apps for language learning on the internet has also made it simpler for people to learn new languages.

Online communities have been developed thanks to the internet, allowing people to communicate with those who speak different languages. These communities give people the chance to practise writing and speaking in another language.

People can now more easily take part in language exchange programmes thanks to the internet.
Additionally, with the ability to connect to others through online communities, one can receive feedback and constructive criticism, allowing for a faster and more targeted improvement in the skill.

For such more question on technology:

https://brainly.com/question/4903788

#SPJ11

11111110110001001100010110111010start text, 1111111, end text, start text, 0, end text, start text, 110, end text, start text, 0, end text, start text, 0, end text, start text, 10, end text, start text, 0, end text, start text, 110, end text, start text, 0, end text, start text, 0, end text, start text, 10110111010, end text
How many characters are encoded in that binary data?

Answers

Answer:

32 bits / 8 bits per character = 4 characters

Explanation:

This binary data contains 32 bits, which can be divided into groups of 8 bits to represent individual characters.

Which column and row references are updated when you copy the function: =SUM(B5:$D15)?

Answers

When you copy the function =SUM(B5:$D15) to another cell, the column reference remains the same (i.e., B and D), but the row reference changes based on the position of the new cell relative to the original cell.

What is the rationale for the above response?

For example, if you copy the formula to the cell directly below it, the new formula will become =SUM(B6:$D16), where the row references have been incremented by 1. Similarly, if you copy the formula to the cell to the right of it, the new formula will become =SUM(C5:$E15), where the column references have been incremented by 1.

In general, when you copy a formula to a new cell, Excel adjusts the cell references relative to the position of the new cell, unless you use absolute or mixed references by adding a "$" sign before the column or row reference.

Learn more about excel function at:

https://brainly.com/question/30324226?

#SPJ1

Is there an equivalent notion of header information that is added to passengers and baggage as they move down the airline protocol stack?

Answers

With reference to airline industry, they use tags that holds information on passenger's name, destination and flight number for identification.

What is the equivalent notion of header information that is added to passengers and baggage as they move down the airline protocol stack

In the context of the airline industry, there is a similar concept to header information called baggage tags, which are attached to each checked bag as it moves through the airline's handling process. These tags contain information such as the passenger's name, flight number, destination, and a unique identifying number for the bag. This information is used to track the bag's location and ensure that it is loaded onto the correct flight and delivered to the correct destination. Similarly, passengers are assigned boarding passes, which contain information such as the passenger's name, flight number, seat assignment, and departure gate. This information is used to manage passenger flow through the airport and onto the correct flight. So, while the exact terminology may differ, the concept of adding identifying information to passengers and baggage as they move through the airline protocol stack is an essential aspect of airline operations.

Learn more on airline industry here;

https://brainly.com/question/28147456

#SPJ1

The __________ Slide per page option is the only handout master option which
automatically adds lines on the page for notes.

A.3
B.2
C.4
Pls help…

Answers

Sorry, can’t help. Find it on quizlet they have great answers! Thank me later :)))

Choose 3 methods that work on arrays and show an example of how they are used.

For example:

nums = [10, 25, 13, 26, 38, 5]

sortedNums = nums.sort()
print(sortedNums)

Output: [5, 10, 13, 25, 26, 38]

Answers

The three method are count() method, append() method, index() method that work on arrays.

What is array?

An array is a data structure in computer science that consists of a collection of elements (values or variables), each of which is identified by at least one array index or key.

A mathematical formula is used to compute the position of each element from its index tuple in an array.

The count() method: The count() method returns the number of times a specified element appears in the array.

fruits = ['apple', 'banana', 'cherry', 'apple', 'orange']

count = fruits.count('apple')

print(count)

The append() method: The append() method adds an element to the end of the array.

nums = [10, 25, 13, 26, 38, 5]

nums.append(50)

print(nums)

The index() method: The index() method returns the index of the first occurrence of a specified element in the array.

nums = [10, 25, 13, 26, 38, 5]

index = nums.index(26)

print(index)

Thus, these are the three method asked.

For more details regarding array, visit:

https://brainly.com/question/30757831

#SPJ1

_____styles are added sirectly to an html tag by using the style attributes with the tag

Answers

CSS styles are added directly to an HTML tag by using the style attribute with the tag.

The presentation of an HTML or XML document can be described using the style sheet language CSS (Cascading Style Sheets). HTML or XML documents can add visual styles and layout using CSS styles.

The following are some CSS style examples:

Color is used to change the background or text colour of an element.

The font is used to specify the text's style, size, and family.

To enclose an element in a border, use the border property.

Margin and padding are tools for enclosing an element.

Display - Used to set an element's display property.

Setting the location of an element is done using positioning.

Text: This element is used to set text properties like text-align, text-decoration, and text-transform.

For such more question on CSS styles:

https://brainly.com/question/29580875

#SPJ11

What is one advantage of taking a course online instead of onsite?

A.
It is easier to access the printed course materials.

B.
You can usually do the coursework when it’s convenient.

C.
The quality of teaching is typically a little better.

D.
You can communicate with your teacher more effectively.

Answers

i’d say B, it sounds correct. sorry if it’s not right tho!

What layer of the OSI model does every transmission medium network function on?
A. the fifth layer
B. the second layer
C. the first layer
D. the seventh layer

Answers

Answer:

Hopefully i am correct! Sorry if i am not

Explanation:

Every transmission medium network function operates at the Physical Layer (Layer 1) of the OSI model.

The Physical Layer is responsible for the physical transmission of data over the communication channel, including the electrical, mechanical, and functional specifications of the network interface, such as voltage levels, data rates, and physical connectors.

Therefore, the correct answer is C. the first layer.

Suppose that A × B = Ø, where A and B are sets. What can you conclude? (Please only choose one:) A. A = Ø or B = Ø as if any one of the sets is empty, the cartesian product of the two sets becomes Ø. B. A ≠ Ø or B ≠ Ø because if both sets are empty the product will not be given as Ø. C. A ≠ Ø and B ≠ Ø as product can be Ø if none of the set is empty. D. A = B as A = B

E. A × B = Ø

Answers

Answer:

A. A = Ø or B = Ø

Explanation:

If the Cartesian product of two sets A and B is empty (A × B = Ø), then either A or B (or both) must be an empty set. This is because the Cartesian product of any non-empty set with an empty set is always empty.

Therefore, we can conclude that either A is an empty set or B is an empty set, but not necessarily both. Hence, option A is the correct answer.

Help please!!!!!!

The code below allows the user to enter a sequence of numbers
separated by commas, and then converts the resulting string into a numeric list.
1) Fill in the gaps in the code:

line=input(«Enter the list item on a
single line separated by
commas\n»)
print(“You entered-”, line)
list=line,…….(“……..”)
print(“A list whose elements are of type str:\n is created, list”)
list_number=[int(i) for i in list]
print(“Numerical list:\n, list_number”)

2) Try to describe the sequence of actions performed in the line:

list_number = [int(i) for i in list]

•What will be contained in the list variable if the user has entered a string 2,3,5,6?

•What values ​​does the variable i take if the user entered the string 2,3,5,6?

•What is the int() function used for in the code?

•What values ​​will the expression int(i) take if the user has entered a string 7,8,9,10?

Answers

Explanation:

1. Completed code:

line = input("Enter the list item on a single line separated by commas\n")

print("You entered -", line)

list = line.split(",")

print("A list whose elements are of type str:\n", list)

list_number = [int(i) for i in list]

print("Numerical list:\n", list_number)

The sequence of actions performed in the line "list_number = [int(i) for i in list]" is creating a new list called "list_number", where each element is obtained by applying the int() function to the corresponding element in the original list "list". This creates a new list of integers.

• If the user has entered the string "2,3,5,6", the list variable will contain ['2', '3', '5', '6'].

• The variable i takes the values of each element in the list variable, i.e., first '2', then '3', then '5', and finally '6'.

• The int() function is used to convert each element of the list from a string to an integer.

• If the user entered the string "7,8,9,10", the expression int(i) will take the values 7, 8, 9, and 10, respectively.

The answer of the given question based on the converts the resulting string into a numeric list is given below,

What is Integer?

An integer is a data type that represents a whole number without a fractional component. It is a numerical data type that is used to represent both positive and negative numbers, including zero.

1.

line=input("Enter the list item on a single line separated by commas\n")

print("You entered-", line)

list=line.split(",")

print(" list whose elements are type of str:\n", list)

list_number=[int(i) for i in list]

print("Numerical list:\n", list_number)

2.

If the user has entered a string "2,3,5,6", the list variable will contain ['2', '3', '5', '6'].The variable i takes the value of each element in the list variable one by one. So, in the given code, i will take the value '2', then '3', '5', and '6' sequentially.The int() function is used to convert the string values of the list variable into integer values. This is because the list_number variable is intended to store a numeric list, and the elements of the list variable are strings. By applying int() to each element in the list variable, the resulting list_number variable will contain integer values instead of string values.If the user has entered a string "7,8,9,10", the expression int(i) will take the values 7, 8, 9, and 10 sequentially.

To know more about Variable visit:

https://brainly.com/question/30458432

#SPJ1

y=7x-2 a proportional relationship true or false

Answers

The proportional relationship between the equation y=7x-2 is False.

What is an equation?
An equation is a mathematical statement that asserts that two expressions are equal. It contains an equal sign and typically involves one or more variables, which are placeholders for unknown or changing values. Equations can be used to describe relationships between different quantities and to solve problems in a wide range of mathematical fields, including algebra, geometry, calculus, and statistics.

A proportional relationship is one where the ratio between the two variables is constant. In other words, if you double one variable, the other variable also doubles.

In the equation Y=7x-2, the constant coefficient of x is 7, which means that for every increase of 1 in x, Y increases by 7. However, the presence of the constant term -2 means that the ratio between Y and x is not constant, and therefore this is not a proportional relationship.

To know more about algebra visit:
https://brainly.com/question/182201
#SPJ1

Why does a web page created using WYSIWYG editors become heavy to load on browsers?

Answers

WYSIWYG (What You See Is What You Get) editors allow users to create web pages visually. While this can make web design more accessible to people without programming experience, it can also lead to web pages that are heavy and slow to load on browsers.

Why web page created using WYSIWYG editors become heavy?

Code bloat: WYSIWYG editors often generate more code than is necessary to create a web page. This can lead to code that is redundant or unnecessary, which can slow down page load times.

Image optimization: WYSIWYG editors often allow users to easily add images to their web pages. However, these images may not be optimized for web use, meaning they are larger in file size than necessary. This can slow down page load times, especially for users on slow internet connections.

Plugin usage: WYSIWYG editors often allow users to add plugins or widgets to their web pages, such as social media buttons or embedded videos. However, these plugins can add extra code to the page, which can slow down page load times.

Lack of caching: Some WYSIWYG editors may not optimize web pages for caching, which means that users may have to download all of the page's content each time they visit the site. This can slow down page load times, especially for users who visit the site frequently.

To learn more about WYSIWYG, visit: https://brainly.com/question/3759923

#SPJ1

2) You are a digital media professional who is recording an interview of an Olympic athlete on the set of a late-night talk show in front of a live audience. What kind of microphone would you select and why would you select it?

Answers

As a digital media professional, if I were recording an interview of an Olympic athlete on the set of a late-night talk show, I would select a cardioid condenser microphone.

A cardioid condenser microphone is a directional microphone that is ideal for recording speech and vocals. It picks up sound from the front and rejects sounds from the sides and rear. This feature helps to isolate the athlete's voice and reduce background noise, which can be important in a live audience setting.

Additionally, a condenser microphone is more sensitive and provides better frequency response compared to dynamic microphones, which can help to capture the athlete's voice with greater clarity and detail.

Lastly, a cardioid condenser microphone can be mounted on a boom arm or stand, making it easy to position the microphone at the ideal distance and angle for the athlete's comfort.

Overall, a cardioid condenser microphone would be the best choice for recording an interview of an Olympic athlete on a late-night talk show set in front of a live audience due to its directional sensitivity, sound quality, and ease of positioning.

Classify each rate law based on whether the reaction is first-order, second-order, or third-order overall. You are currently in a sorting module. Turn off browse mode or quick nav, tab to items, space or enter to pick up, tab to move, space or enter to drop. First-order rate

Answers

A first-order reaction is matched by a first-order rate rule. A rate law demonstrates how the concentration of the reactant affects the rate of a chemical reaction.

How can the rate law of the subsequent response be determined?

By maintaining a constant concentration of one of the reactants while converting the other, the rate law can be calculated using the reaction rate as the initial concentration activity.

Provide an illustration of what rate law is.

For instance: Doubling the reactant concentration will not change the reaction rate if it is a zero-order reaction. The reaction rate will double when the reactant concentration is doubled in a reaction of the first order.

To know more about first-order visit:-

https://brainly.com/question/13467963

#SPJ1

Testing UI should include

Question 6 options:

click-throughs, survey questions, and feedback. Observation, feedback, and click-throughs. Feedback, click-throughs, and survey questions. Survey questions, observation, and feedback

Answers

Testing the user interface (UI) of a website or application is an essential part of the software development process. It ensures that the end-users have a positive experience while interacting with the software. UI testing can include several methods, but some of the essential components of UI testing include:

Click-throughs: This involves clicking through the various features and functionalities of the UI to ensure that they work as expected. It helps identify any bugs or issues that may arise while interacting with the software.Observation: Observing users as they interact with the software can provide valuable insights into how they use the software, what features they find useful or challenging, and where they may encounter issues.Feedback: Collecting feedback from users through surveys, interviews, or focus groups can provide valuable insights into how they perceive the software and what changes or improvements they would like to see.Therefore, option C, "Feedback, click-throughs, and survey questions" is the most accurate choice. However, observation is also an essential component of UI testing, so option B, "Observation, feedback, and click-throughs" is also a viable answer. Ultimately, UI testing should include a combination of methods to ensure a thorough evaluation of the software's user interface.

To learn more about UI click the link below:

brainly.com/question/17652783

#SPJ4

Which of the following functions returns the highest value in a range of cells?

MIN
MAX
SUM
TOTAL

Answers

Answer:

MAX

Explanation:

The function that returns the highest value in a range of cells is MAX.

Select the correct answer from each drop-down menu. Which statements are true for conditional formatting? Conditional formatting enables you to , and .

Answers

See is the first answer and the second one is breath

Assume that $s0 holds the value 128ten. (a) for the instruction add $t0, $s0, $s1, what is the range(s) of values for $s1 that would result in overflow? (b) for the instruction sub $t0, $s0, $s1, what is the range(s) of values for $s1 that would result in overflow? (c) for the instruction sub $t0, $s1, $s0, what is the range(s) of values for $s1 that would result in overflow?

Answers

a. The largest possible value that can be represented with 32 bits is 2,147,483,647

b.  the range of values for $s1 that would result in overflow is from -2,147,483,648 to -128

c. The range of values for $s1 that would result in overflow is from 128 to 2,147,483,647

What is the range of values that will result in overflow

Assuming a 32-bit architecture:

(a) For the instruction add $t0, $s0, $s1, the range of values for $s1 that would result in overflow is from -2,147,483,648 to 2,147,483,487, because the largest possible value that can be represented with 32 bits is 2,147,483,647, and adding any number larger than this to $s0 (which holds 128ten or 128 in decimal) would result in overflow.

(b) For the instruction sub $t0, $s0, $s1, the range of values for $s1 that would result in overflow is from -2,147,483,648 to -128, because the smallest possible value that can be represented with 32 bits is -2,147,483,648, and subtracting any number larger than this from $s0 (which holds 128ten or 128 in decimal) would result in overflow.

(c) For the instruction sub $t0, $s1, $s0, the range of values for $s1 that would result in overflow is from 128 to 2,147,483,647, because subtracting any number smaller than 128 from $s0 (which holds 128ten or 128 in decimal) would result in overflow, and the largest possible value that can be represented with 32 bits is 2,147,483,647.

Learn more on range here;

https://brainly.com/question/28551043

#SPJ1

in deviation detection, new data is compared with a set of data called training data. before mining , it is important to remove ____ data from all databases. complete the sentence related to the types of sample data. the choices for this are cleansing, training, or reporting.

Answers

Ideviation detection, new data is compared with a set of data called training data. before mining, it is important to remove cleansing data from all databases.

What is Data Mining?

The process of extracting and identifying patterns from big data sets using techniques at the interface of machine learning, statistics, and database systems is known as data mining.

Before mining, it is important to remove cleansing data from all databases.

This is because cleansing data refers to data that is incomplete, inaccurate, irrelevant, or duplicated, which can negatively affect the results of the deviation detection analysis.

Read more about data mining here:

https://brainly.com/question/30395228

#SPJ1

Darren is hoping to get search results that begin with the words "art history." Which of the following search terms will help
him?
A. art history
C. lart history
B. "art history"
D. -art history-

Answers

Answer: B

Explanation: In order to get specific results in answers it is best to put quotes around it

For a loop to stop, the loop control variable must ______________.
Group of answer choices

decrease in value

be a certain specified input

be a boolean

be a certain value

Answers

Answer:

be a certain specific input  

Explanation:

i'm going to school to be a computer engineer

Answer: be a certain specified input

Explanation: I tested it

7.4 Code 1 Edhesive assignment

Answers

Answer:

I have attached a screenshot of the program. This ensures that the formatting is not destroyed

Explanation:

The isnumeric() method checks to see if the string is composed of only digits 0 - 9. So entering a float number such as 4.2 or a negative number will fail the test on line 3

Other Questions
An engineer is hired to design a bridge to carry traffic across the river. Her first problem is to determine the distance from point A to point B. To do so, she starts at point A and measures a distance of 250 m in a direction at a right angle to the segment AB. At point C, she uses her transit to find the angle ACB which measures 4952'. How long should the bridge be? Is there a way for a language to die even if its widely spoken? If yes, explain how. Mike constructed a kite by attaching two congruent triangles as shown in the diagram below.Which equation can Mike use to determine the amount of material, in square inches, needed to create the kite?F. A=[12(12)(8)]2 G.A=[12(6)(8)]2H.A=[(12)(4)]2J.A=[(6)(10)]2 How Will We Know When The NH OH And HCI Meet Through Diffusion? a. They React To Form A White Ring. b. They React To Form A Gas. c. They React To Form A Red Liquid. d. The React To Form A Blue Liquid. Suppose a novel infectious disease reaches the portland-metro area. This disease takes 9 days to recover from, and has a basic reproduction number of R0=4.5. Suppose the disease is 0.3% fatal. We'll model the disease outbreak with an SIR model.i) Find a value for N, the total population of the portland-metro area.ii) Determine the values of a and b, the constants for the SIR model.iii) Suppose on day 0, there are 5 cases of the disease. If 15% of the initial population has immunity to the disease, determine the initial values S(0), I(0) and R(0).iv) Solve the SIR model numerically, over a time interval that shows the whole course of the disease outbreak. Create a graph showing S, I and R vs time. The remaining questions can all be answered by reading and interpreting the graph:v) How many people ultimately will be infected?vi) How many will die from the disease?vii) When is the peak of the outbreak?viii) When is the outbreak is over?ix) For this disease, what is the herd immunity threshold? Find the time at which the number of R individuals reaches the herd immunity threshold.x) How many people die of the disease, after the herd immunity threshold is reached? Using SIM deep, how do you know a bacterium is motile? Bacteria grows in colonies. Media tums red. Bacteria grows along the stab. Bacterial growth looks like an upside down pine tree. What points of view are revealed in the song Blowin' in the wind by Bob Dylan? Q.5. Joseph has a small library at home that currently has 50 books. Each week, his family buyshim five books to add to the library. Which inequality can be used to find w, the numberof weeks when Joseph will have more than 125 books?A. 50w +5 > 125B. 5w+50 > 125C. 50w +5 < 125D. 5w+50 < 125 Listed below are amounts of strontium-90 (in millibecquerels, or mBq) in a simple random sample of baby teeth obtained from residents in a region born after 1979. Use the given data to construct a boxplot and identify the 5-number summary.124127131135138142142143147150154156157160163168170171174181Question content area bottomPart 1The 5-number summary is enter your response here, enter your response here, enter your response here, enter your response here, and enter your response here, all in mBq.(Use ascending order. Type integers or decimals. Do not round.)Part 2Which boxplot below represents the data?A.100120140160180200220Strontium-90 (mBq)A boxplot titled strontium-90 measured in millibecquerels is plotted above a horizontal scale from 100 to 220 in increments of 10. The boxplot consists of a box that extends from 130 to 165.5, a vertical line segment drawn through the box at 160.75, and a horizontal line segment extending from 114 to 201 that bisects the box. All values are approximate.B.120140160180200220Strontium-90 (mBq)A boxplot titled strontium-90 measured in millibecquerels is plotted above a horizontal scale from 120 to 220 in increments of 10. The boxplot consists of a box that extends from 130 to 175.25, a vertical line segment drawn through the box at 152, and a horizontal line segment extending from 124 to 201 that bisects the box. All values are approximate.C.100120140160180200220Strontium-90 (mBq)A boxplot titled strontium-90 measured in millibecquerels is plotted above a horizontal scale from 120 to 220 in increments of 10. The boxplot consists of a box that extends from 150 to 175.5, a vertical line segment drawn through the box at 162, and a horizontal line segment extending from 114 to 201 that bisects the box. All values are approximate.D.120140160180200Strontium-90 (mBq) Which linear equation best represents a trend line for the data in the scatter plot? Francisco is a lawyer who has worked for a law firm for several years. Today he is going to talk to his boss to ask for a raise. While he waits in reception, he thinks about his job. Read the sentences and in the first blank, write the verb in the subjunctive from the sentence. Then, in the second blank, use one of the following terms in English to explain why the verb is in the subjunctive: volition/influence, emotion, doubt, negation/denial.1. Yo quiero que el jefe me d un aumento grande. ______ ________2. No estoy seguro de que una empresa pueda ser exitosa sin el uso de Internet. ____ ________3. Siento que algunas veces los bufetes despidan a sus mejores empleados. _____ _______4. Mis padres dudan que mi jefe encuentre un abogado tan trabajador como yo. ______ _______5. No es cierto que la distancia en las relaciones entre colegas sea mayor aqu que en otras empresas. ________ ________ Molar SolutionsA solution consists of two components: the solute, the dissolved material, and the solvent, the liquid in which the solute is dissolved. The amount of solute in a given amount of solution or solvent is known as the concentration. The two most common ways of expressing concentration are molarity and molality. Molarity (M) indicates the number of moles of solute per liter of solution (moles/Liter), abbreviated as M..This is one of the most common units used to measure the concentration of a solution. Molarity can be used to calculate the volume of solvent or the amount of solute.Carrie's chemistry teacher asked her to make a 1 M sodium chloride solution. Carrie measured 58.44 grams NaCl, added it to a volumetric flask, and then added enough water to make a 1 liter solution. Her lab partner told Carrie that she had made the 1M solution incorrectly. How would you respond?ResponsesHe is correct. Carrie should have added exactly 1 L of water to the flask.He is correct. Carrie should have added exactly 1 L of water to the flask.,He is correct. Carrie should have mixed 1 mole NaCl with 1 mole water in the flask.He is correct. Carrie should have mixed 1 mole NaCl with 1 mole water in the flask.,He is correct. Carrie should have used 1000 ml H2O.He is correct. Carrie should have used 1000 ml H, 2, O.,He is incorrect. Carrie mixed the 1M solution correctly . 13 A box is in the shape of a cuboid 32 cm by 20 cm by 8 cm.Box32 cmSam has 75 bricks.Each brick is a cube of side length 4 cm.Can Sam fit all 75 bricks into the box?You must show how you get your answer.8 cm20 cmBrick4 cm Problem 3 65 marks) You have been given the financial statements for Low Risk Inc. You have been asked to determine the free cash flow (FCF) for 2014. Income Statement 2013 2014 Sales 80,000 120,000 Cost of Goods Sold 32,000 48,000 Gross Margin 48,000 72,000 Selling Expense 8,000 12,000 EBITDA 40,000 60,000 Depreciation 4,000 6,000EBIT 36.000 54,000 interest 200 Earnings before taxes 35,850 53,800 taxes 14,340 21,520 Net Income 21,510 32,280 Assume binomial distribution where n = 3 and p = 0.6. Determinethe mean and standard deviation of the distribution. Read this excerpt then in 1 sentence explain the connotaition of the word remarkable in this passage. The Mississippi is well worth reading about. It is not a commonplace river, but on the contrary is in all ways remarkable. Considering the Missouri its main branch, it is the longest river in the worldfour thousand three hundred miles. It seems safe to say that it is also the crookedest river in the world, since in one part of its journey it uses up one thousand three hundred miles to cover the same ground that the crow would fly over in six hundred and seventy-five. EASY 7TH-GRADE MATH NEED HELP NOW!!!!-3/4(5p-12)+2(8-1/4p) Your firm practices a strict residual dividend policy and maintains a capital structure of 25% debt and 75% equity. Net earnings for the year are $3 million.a) What is the maximum amount of capital spending possible without new equity?b) If planned investment outlays for the coming year are $3.6 million, will your firm be paying a dividend, and if so, how much will it be paying?c) Based on planned investment outlays of $3.6 million, what are your firm's retention and dividend payout ratios?d) If your firm's next annual dividend payment is expected to be $0.25 and your firm's current share price is $7.00, what is the dividend yield (correct to two decimal places)? In a discount clothing store, all sweaters are sold at one fixed price and all shirts are sold at another fixed price. If one sweater and four shirts cost $38, while four sweaters and five shirts cost $86, find the price of one sweater and the price of one shirt. Identify the terms, the degree of each term and the degree of the polynomial. Then identify the leading term, th leading coefficient, and the constant term. -6r^(10)-11r^(3)+7r^(2)+3r-5