Answer:
phone grows everyday 82 percent
Explanation:
Answer:
Following are the code to this question:
def rate_animal(an_animal):#defining method rate_animal
if an_animal=="cat":#defining if block to check valu
return 1 #return value 1
elif an_animal=="dog":# defining elif block to check another value
return 2 #return value 2
elif an_animal=="capybara":# defining elif block to check another value
return 3 #return value 3
elif an_animal=="danger noodle":# defining elif block to check another value
return 4 #return value 4
else:
return -1 #return value -1
print("dog Rating: ",rate_animal("dog"))#calling method and print its return value
print("cat Rating: ",rate_animal("cat"))#calling method and print its return value
print("capybara Rating: ",rate_animal("capybara"))#calling method and print its return value
print("danger noodle Rating: ",rate_animal("danger noodle"))#calling method and print its return value
print("Horse Rating: ",rate_animal("horse"))#calling method and print its return value
Output:
dog Rating: 2
cat Rating: 1
capybara Rating: 3
danger noodle Rating: 4
Horse Rating: -1
Explanation:
Description of the python code can be defined as follows:
- In the above program code, a method "rate_animal" is declared, in which a string variable "an_animal" passes as the argument, inside the method, multiple conditional statements are used.
- In the if the block, it will check string value if it equal to "cat", it will return 1, otherwise, it will go to elif block, in this block it will check value is "dog", "capybara", and "danger noodle", if the value is any of then it will return 2, 3, and 4.
- If the above condition is not true, it will return a value, that is "-1", in the next step print method is used, that calls the method and print its return value.
To create a chart, you need to select at least two cells in a range of data.
two cells
<u>Explanation:</u>
In MS excel end user can create graph through insert menu and select chart. In MS excel end user should have enough data in each cells to generate graphs.
In MS EXCEL end user can create bar graph, pie chart, and line graph. Normally graph means comparing either two sets of values or range of values.
If we select one value it is just graph which gives performance data.
Purpose of graph is to do analysis in graphical presentable manner which an organization can under visual rather than comparing values.
Peripheral Bus is not associated with the SATA function on a computer as they are not universal to each other. If you can go more into context, that would be great.
The answer is firewall. It is a network security device that observes inbound and outbound network traffic and chooses whether to allow or block specific traffic based on a well-defined set of security rules. Firewalls have been a first line of protection in network security for over 25 years. The firewall present a barrier between measured and secured internal networks that can be trusted and untrusted outside networks, for example the Internet. A firewall can be software, hardware, or even both.