Write an if/else statement that assigns 1 to the variable fever if the variable temperature is greater than 98.6; otherwise it assigns 0 to fever.

Answers

Answer 1

Answer:

temperature = int(float(input("Enter temperature: ")))

fever = 0

if temperature > 98.6:

   fever +=1

else:

   fever = 0

print(fever)

Explanation:


Related Questions

Why must the image be reduced when the field of view is widened to take in more of the scene?

Answers

The lighting in the shot
As the size of the hole is increased, a larger cluster of light rays gets through to the film or sensor and makes a wider, even blurrier circle. These circles overlap, so the wider each circle becomes, the less clear the picture will be.

How can you implement a framework?

Answers

Answer:

that's the answer

Explanation:

I hope it helps to you

use JAVA

Create a HighestGrade application that prompts the user for five grades between 0 and 100 points and stores

the grades in an ArrayList. HighestGrade then traverses the grades to determine the highest grade and then

displays the grade along with an appropriate message.

Output:

Enter a grade (between 0 and 100): 87

Enter a grade (between 0 and 100): 65

Enter a grade (between 0 and 100): 98

Enter a grade (between 0 and 100): 89

Enter a grade (between 0 and 100): 55

The highest grade is: 98

Answers

Answer:

import java.util.*;

public class HighestGrade

{

       public static void main(String args[])

       {

                Scanner sc = new Scanner(System.in);

                 int n = 5;      

                ArrayList<Integer> grades = new ArrayList<Integer>(n);

               for (int i = 1; i <= n; i++)

                {

                       System.out.print("Enter a grade (between 0 and 100): ");

                       int num = sc.nextInt();

                       grades.add(num);

                }

                int max = grades.get(0);

                for (int i = 1; i < n; i++) {

                       if (grades.get(i) > max) {

                             max = grades.get(i);

                       }

                }

               System.out.print("The highest grade is: "+max);

       }

}

Explanation:

The class HighestGrade application rompts the user for five grades between 0 and 100 points and stores  the grades in an ArrayList. HighestGrade then traverses the grades to determine the highest grade and then displays the grade along with an appropriate message.

What are some settings you can control when formatting columns? Check all that apply.


Answers

Answer:

1,3,4,6,7, hope that helps'

Explanation:

How many types of windows does Python use?



a.
four


b.
five


c.
one


d.
two

Answers

Answer:

Four types

Explanation:

The python windows starts form windows 7.

All types of python windows are

Windows 7Windows 8Windows 10Windows 11

the image on the right was prooduced by a computer. it shows a complex molecu;e consisting of many atoms. what would be an advantage of using a computer to create a model like this, instead of building it by hand?

Answers

Answer:

The image on the right was produced by a computer.It shows a complex molecule consisting of many atoms.

What would be an advantage of using a computer to create a model like this, instead of building it by hand.

By using computer-generated models, complex chemical structures can be represented with greater speed, accuracy, and flexibility, advancing research in a variety of scientific domains.

When developing a complex molecule model, such as the one shown on the right, there are various benefits to using a computer as opposed to doing it by hand.

The capacity to accurately depict and visualise complex chemical structures that would be too difficult or time-consuming to assemble manually is one important benefit.

Computers make it possible to locate atoms, bonds, and molecular parts precisely, guaranteeing scientific correctness.

Additionally, it is simple to experiment with and modify computer-generated models. Without the physical constraints of handling real components, scientists can quickly change chemical configurations, examine different conformations, and analyse their impacts.

Thus, this makes it easier to comprehend the interactions, behaviour, and characteristics of molecules.

For more details regarding computer-generated models, visit:

https://brainly.com/question/28545111

#SPJ3

Write a class definition line and a one line docstring for the class Dog. Write an __init__ method for the class Dog that gives each dog its own name and breed. Test this on a successful creation of a Dog object. >>> import dog >>> sugar

Answers

Python Code:

class Dog:
""" Dog class definition """

# data attribute species as part of the class Dog
species = "Canis familiaris"

def __init__(self, _name, _breed):
""" Constructor """
# Assigning values
self.name = _name
self.breed = _breed
self.tricks = []

def teach(self, trick):
""" add a passed string parameter to tricks """
# Adding to list
self.tricks.append(trick)
# Printing message
print(self.name + " knows " + trick)


def knows(self, chkStr):
""" check whether a passed string parameter is in the dog’s list of tricks """
# Checking in tricks list
if chkStr in self.tricks:
# Printing message
print("Yes, " + self.name + " knows " + chkStr)
else:
# Printing message
print("No, " + self.name + " doesn't know " + chkStr)

conclusion for project for computer​

Answers

OK this question is answer easy the computer important of future

explain the different types of programming languages​

Answers

Answer:

Language types. Machine and assembly languages. Algorithmic languages. FORTRAN. ALGOL. C. Business-oriented languages. COBOL. SQL. Education-oriented languages. BASIC. Pascal. Logo. Hypertalk. Object-oriented languages. C++ C# Ada. Java. Visual Basic. Python. ...

Elements of programming. Control structures. Data structures.

Explanation:

Pls Mark Brainliest

A data analyst is working with a data frame named retail. It has separate columns for dollars (price_dollars) and cents (price_cents). The analyst wants to combine the two columns into a single column named price, with the dollars and cents separated by a decimal point. For example, if the value in the price_dollars column is 10, and the value in the price_cents column is 50, the value in the price column will be 10.50. What code chunk lets the analyst create the price column

Answers

The code chunk that lets the analyst create the price column is;

unite(retail, “price”, price_dollars, price_cents, sep=”.”)

The code chunk unite(retail, “price”, price_dollars, price_cents, sep=”.”) is the one that will allow the analyst to create the price column.

The reason for that answer is that;

The unite() function would allow the analyst  to make the dollars and cents data to be combined into a single column.Meanwhile, in the parentheses of the given function, the analyst will write the name of the data frame.Next step for the analyst is to write the name of the new column in quotation marks.Next step is the names of the two columns they want to combine.Lastly, the argument sep=”.” will now place a decimal point between the dollars and cents data given in the price column.

Read more about programming at; https://brainly.com/question/15683939

The operation of an enable input on a multiplexer chip is.

Answers

Answer:

is used to activate the chip.

Explanation:

when enable is high the chip works (ACTIVE), when enable is low the chip does not work (MEMORY).

Explain the difference between the = symbol in Java and in mathematics.

Answers

Answer:

In maths the '=' sign tells us that the two integers or variables on either side are the same, wheras in Java the '=' sign means that you are assigning the variable on the left hand side it's value which will be on the right

Many subject elements make for simple and streamlined looking images. true or false

Answers

Answer:

Explanation:

false. many elements means a complicated picture, not a simple one.

The statement "Many subject elements make for simple and streamlined-looking images" is absolutely false.

What do you mean by Subject element?

The Subject element may be defined as the elements or components of the subject that are significantly responsible for constructing simple or complicated representations in the form of images.

It is a term or phrase that deals with the representation of fundamental topics on which a particular image relies. It significantly defines all the taxonomic attributes of the streamlined-looking images.

According to the context of this question, many subject elements will definitely lead to complicated and more streamlined images rather than simple ones.

Therefore, the statement "Many subject elements make for simple and streamlined-looking images" is absolutely false.

To learn more about Images elements, refer to the link:

https://brainly.com/question/26307469

#SPJ2

Game have been a part of human life only recently in human history—about 1100 AD.
True
False

Answers

Answer:

The answer is false it has not

Answer:

B: False

Explanation:

it's just false

Q) Look at the code sequence and select the correct output

str="Python using Colab"
for i in str:
if(i.isupper()==True):
print(i.lower(), end="")
if(i.islower()==True):
print(i.lower(), end="")

(a) pYTHONUSINGcOLAB
(b) PYTHONUSINGCOLAB
(c) Error
(d) pythonusingcolab​

Answers

Answer:

D.

Explanation:

Capstone Project part 11 quiz

What is the following code snippet checking? (1 point)
while response != "yes":

Othat response variable is not yet yes

O that response variable is yes

O if "yes" is indexed in an array for the variable "response"

O if the response variable is "no"



If you give all answers you will have an amazing Christmas!

Answers

It is checking if the response is not yet yes

Assume that students in a course are required to produce a written report on an ICT-related
the topic each semester. If you wanted to create a model to estimate how long it should take a student to
complete such an assignment, what measure of work content would you use? Some reports might be
more difficult to produce than others: what factors might affect the degree of difficulty? Provide a list
of factors and explain each briefly.

Answers

Based on the information given, the measures of work content that can be utilized will be:

The student's knowledge of the subject.   The work's difficulty. The student's research hours.

In order to create a model to estimate how long it should take a student to

complete such an assignment, the important measures include the knowledge of the student on the subject, research hours, etc. This may be evaluated on a scale of 0 to 10.

The factors that may influence the degree of difficulty include:

The student's access to materials for the assignment. The student's familiarity with the work. The amount of time required to fully grasp the subject.

Learn more about a model on:

https://brainly.com/question/17764105

What does this Python expression evaluate to?

100 != 100

True

False

“True”

“False”

Answers

Answer: False

Explanation:

I need help with This excel chart. I don't know how to divide all the rows and columns.

In column F, enter formulas that use a function to calculate % Caught with Table (fish caught with Table hook divided by the total number of fish caught).
Format the % Caught with Table values as a percent with one decimal place.

Answers

Answer:

sorry I don't know how to do this.Very very sorry.

Term software refers to

(a) Computer manuals only

(b) Computer programs only

(c) Machinery

(d) Computer manuals and programs

Answers

Answer:

(b) Computer programs only

Explanation:

[tex]{}[/tex]

Answer:

b

Explanation:

HOPE THAT THIS IS HELPFUL. HAVE A GREAT DAY.

Write a python program to calculate and print the electric bill for Ethiopian Electricity Corporation. (consumer name meter number(mno),last month reading(Imr)and current month reading(cmr) of 50 customers and calculate the net bill amounts as follows: Number of unit(Nou)=cmr-lmr If Nou200 then bill =Nou*2 tax=bill*0.15 netbill=bill+tax Print all the details in the bill for all customers​

Answers

The electric bill program illustrates the use of loops (i.e. iteration)

Loops are used to execute repetitive operations

The electric bill program in Python where comments are used to explain each line is as follows:

#This iteration shows that the process is repeated for 50 consumers

for i in range(50):

   #This gets input for the consumer name meter number

   mno = input("Consumer name meter number: ")

   #This gets input for last month reading

   lmr = int(input("Last month reading: "))

   #This gets input for current month reading

   cmr = int(input("Current month reading: "))

   #This calculates the number of units

   Nou = cmr - lmr

   #This calculates the bills

   bill = Nou*2

   #This calculates the tax

   tax = bill*0.15

   #This calculates the netbills

   netbill = bill+tax

   #This next four lines print the electric bills

   print("Number of units:",Nou)

   print("Bills:",bill)

   print("Tax:",tax)

   print("Netbill:",netbill)

Read more about loops at:

https://brainly.com/question/19344465

Questions Description Explain how you will identify and use texts according to the function you wish for it to serve in the particular industry​

Answers

The texts have different purposes that can be identified with the following tips:

Identify the main ideas. Identify the author's purpose.

What is a text?

A text is a term to refer to the set of phrases and words ordered coherently to be interpreted and to transmit the ideas of an author (emitter or speaker).

Texts can have a variety of topics depending on the author's intention. For example:

Scientific texts: They are the texts that have the purpose of sharing scientific information with exact data and results of experiments or others. Literary texts: They are the best known texts that stand out for including a diversity of topics, they are characterized by telling an in-depth story. News texts: They are the texts that expose all the details of a news story and have the purpose of objectively reporting.

According to the above, to identify a text it is necessary to read it and identify the main ideas and the purpose of its author when writing it. Additionally, the texts are tools for different professions to teach skills, knowledge and techniques depending on the requirement.

Learn more about text in: https://brainly.com/question/1142673

Declare and define a function called displayConcat that displays the concatenation of the first parameter with the second. Ex: displayConcat("After", "noon") displays "Afternoon".

Answers

function displayConcat(first, second) {
// using console.log print concatenation of first and second strings
console.log(first + second);
}

displayConcat('After', 'noon');

Write a program that allows the user to enter three separate strings: a city name, a state name, and a ZIP code.

Answers

Answer:

In Python:

city = input("Enter a city: ")

state = input("Enter a state: ")

zip_code = input("Enter a zip code: ")

Consider a system which has a memory access time of 300 nsec. An average page fault takes around 10 millisecond to get serviced. If the page fault occurs with a probability of 4% in the system, then find out the effective memory access time of that system. If somehow, you manage to reduce the probability of page fault to 2%, then by how much the system performance improves as compared to the previous case?

Answers

Answer 72 ncs is the answer im pretty sure

You can find the answer in the attached photo

Which type of game requires you to read people’s expressions to anticipate their moves?
chess-type games
dice games
board games
Poker-type games

Answers

Answer:

Chess-type games

Explanation:

Answer:

Explanation:

chess-type games

Explain in detail what it means to synchronize computers and mobile devices and include at least two strategies for keeping your files in sync in your answers

Answers

Answer:

Explanation:

To synchronize computers and mobile devices means to use a cloud service that constantly checks to see if local files are up-to-date with the files in the cloud. These services update the cloud files with the local files if they are overwritten for maximum convenience.

Two strategies for keeping files in sync are using Dropbox. Another way is using iCloud if one has Mac/iOS devices.

Question 2
What is the output of the following python code:
y = 130
x = 30.15
print (y, x)

Answers

Answer:

>>> 130 30.15

Simple question: what is bandwidth?

Answers

The maximum amount of data transmitted over an internet connection in a given amount of time

Answer:

It is the amount of data that can be transmitted in a set period of time, that is the rate of data supported by the network connection.

In simple definition, it can be said to be the data transfer capacity of a computer network in bits per second (bps).

Explanation:

How often do domain controllers download Group Policy settings?

Answers

Answer:

Domain controllers download Group Policy settings -every five minutes-

Explanation:

hope I helped

Other Questions
Which statement best describes the significance of lines 13-15 on the meaning of the poem? A. The speaker is not worried they made the wrong choice because they can return to take the other road. B. The speaker is worried they took the more traveled road and will not be able to return to take the less traveled one. C. The speaker understands that taking one opportunity will likely prevent them from going back to take another. D. The speaker believes that they will be able to take all of the opportunities presented to them at some point in life. A bus accelerates away from the bus stop at 2.5 m/s2.The total mass of the bus and passengers is 14 000 kg.Calculate the resultant force needed to accelerate the bus and passengers.help pls my brain is not working Given the following information for Blue Bell Company for last year: Net sales (all on account) $5,200,000 Cost of goods sold 2,080,000 Interest expense 240,000 Income tax expense 280,000 Net income 420,000 Income tax rate 40% Total assets: January 1 $1,800,000 December 31 2,400,000 Shareholders' equity (all common): January 1 1,500,000 December 31 1,600,000 Current assets, December 31 700,000 Quick assets, December 31 400,000 Current liabilities, December 31 300,000 Net accounts receivable: January 1 200,000 December 31 180,000 Inventory: January 1 210,000 December 31 250,000 Refer to table: Blue Bell's current ratio at December 31 was:____.a. 2.33 times b. 3.67 times c. 0.43 times d. 1.33 times How are the nervous systems of a flatworm and a fish different? Hearing is to radio as sight is to eyes camera newstelevision Iodine-138 decays by beta decay. What element does it produce? Find the height of the building below by using your knowledge of trigonometry. how to calculate kinetic energy given mass and velocity 5/7 of __ is 1/7 plz help asap What are the issues of integrity, ethics and law posed in the case study? What options does the woman have, and what should she do and why? How do the author's choices to structure the following selection impact its meaning?"...it would be strange indeed if so celestial an article as FREEDOM should not be highly rated. Britain, with an army to enforce her tyranny, has declared that she has a right (not only to TAX) but "to BIND us in ALL CASES WHATSOEVER,""A.) Paine gets spicy in the comment section.B.) Paine uses a hypothetical question about continued British rule and its effect on America's future.C.) Paine describes how the American army has a right to stand up and fight for the American people.D.) Paine uses changes in syntax and grammar conventions to emphasize points he finds most offensive. write a function called which_vowels_present that takes a single string parameter. complete the function to return a list of strings indicating which vowels (a, e, i, o, and u) are present in the provided string. the case of the vowels in the original string doesn't matter, but they should be lowercase when returned as part of the list. the order of the vowels in the list doesn't matter. for example, if the provided string was 'all good people.', your code could return ['a', 'e', 'o']. it could also return ['e', 'o', 'a']. one way to implement this would be to use the filter pattern starting with the list of all vowels. In the article, "Growing Up: Key Moments," which word means "lacking interest orexcitement"?mundane (paragraph 1)trivial (paragraph 2)valuable (paragraph 6)elective (paragraph 9) Make in you own wordsWhen we leave the calvin cycle we have transformed into G3P which is a sugar that contains 3 of me!We dont stay in this form for long though In addition to punctuation, how else can you determine an authors tone? [(-4 2/7) x (-18)] x (-3 8/9) x (-1) Help help help help buissness Jason's new business will start making a profit when he sells more than 20 items. Which graph best represents this situation? Pls i need help!! Im timed Hurry and thx (: What was one way the rights of free people of color were restricted?O They were subject to a curfew.O They could not leave Louisiana.ujarnyaO They were unable to own homes.They were not allowed to read or write. A large university accepts 60% of the students who apply. Of the students the university accepts, 45% actually enroll. If 30,000 students apply, how many actually enroll?________ students would actually enroll. (Type a whole number)