_________________ is the logical operator if either conditions is True, then the whole statement is TRUE.

a.)OR
b.)Object-Oriented Programming
c.)Procedures
d.)Functions

Answers

Answer 1

Answer:

Assuming your using the language python, The 'or' operator

Explanation:

To explain this further, or is used in python to describe another condition whether the first one was true or false. Here is a list of what they all briefly mean:

Object-Oriented Programming allows you to create objects with specific characteristics. Ex. you could have a dog class that describes a dogs name and breed. You can make an instance and call it Max with its breed being a golden retriever etc.

----------------------------------------------------------------------------------------------------------------

Procedures independant code that just has simple instructions

----------------------------------------------------------------------------------------------------------------

Functions like object oriented programing but instead of having attributes it is a block of code that does an action. In python, unless the function is called, however, it won't do anything

----------------------------------------------------------------------------------------------------------------

'or' allows someone to give another condition whether the other conditions were True or False.

hope this helped :D


Related Questions

What voting rights law did you choose?

Answers

Answer:

FREE AND FAIR ELECTION

Answer:

I Dont even know.. to be honest

Explanation:

Decomposition is
O a list of steps to complete a task.
O a set of steps that follow one another in order.
O breaking a problem into smaller parts
O a design flaw in the program.

Answers

Answer:

breaking a problem into smaller parts

Explanation:

In language of computer science, decomposition is the process in which complex problems are divided into simpler parts. These simpler parts helps in the solving of the complex problems. They are made easier and comprehensible for the user to understand. Each simple part is further analyzed separately and the solution of the complex issues are derived.  The process becomes lengthy but the solution is found.

Write a program that asks the user for their name and how many times to print it.

If I enter Ada and 3 it should print:

Ada
Ada
Ada

Which loop correctly does this?


name = input("Enter your name: ")
num = int (input("Enter a number: "))

c = 1

while (c > num):
print (name)
c = c + 1

name = input("Enter your name: ")
num = int (input("Enter a number: "))

c = 1

while (c <= num):
print (name)
c = c + 1

name = input("Enter your name: ")
num = int (input("Enter a number: "))

c = 1

while (num <= name):
print (name)
c = c + 1

name = input("Enter your name: ")
num = int (input("Enter a number: "))

c = 1

while (c <= num):
print (name)

Answers

Answer:

c = 1

while (c <= num):

print (name)

c = c + 1

Explanation:

dont ask :)

HELP!!!

To help ensure that an HTML document renders well in many different web browsers, it is important to include which of the following at the top of the file.


A) an html tag

B) a doctype declaration

C) a body tag

D) a head tag

Answers

Answer:

The detail answer of this question is given in explanation section.

The simple answer is option B

Explanation:

Let took at each option:

A) an html tag

An html tag is used to start and end html document. It does not have anything to do with rendering.

B) a doctype declaration

The document type declaration is necessary because it tell the browser which version of html should be rendered.

C)Body tag tell the browser. it is the visible area of website.

D) A hear tag is used to clear meta data about website.

Answer:

I think it is:

B. a doctype declaration

Explanation:

Logical are functions used when looking for an entry or value in the spreadsheet. what is it?

Answers

The Logical function would allow you to use the spreadsheets to identify whether a scenario is True/False.  It can choose among two options depending on the outcomes of that test, and the further discussion can be defined as follows:

These selections could be used to show information, do complex calculations, or run additional tests.It offers decision-making tools for spreadsheet information. It allows to let you examine the contents of a cell or do a computation, and afterward compare the output to a specified number or value.

Learn more:

brainly.com/question/8953037

Can someone help me and make a code for this in PYTHON, please? I would be very grateful!
It is estimated that China on July 1, 2019. had 1,420,062,022 inhabitants. The population of China increases by 0.35% every year. Assuming that the annual population growth in China will not change, show the expected population of China in the next ten years.
Please... Thanks in advance!

Answers

Code:

next_ten_years = 1420062022*1.0035**10

print(next_ten_years)

Output:

1470554353.1178253

Explanation:

Since the population of inhabitants increases by [tex]0.35\%[/tex] each year, the total population must be [tex]100.35\%[/tex] of the previous year's population (since it includes the previous size of the population and the [tex]0.35\%[/tex] increase of the population)

The math:

Expected population in next 10 years = [tex]1420062022 \times 1.0035^{10}[/tex]  ([tex]100.35\%[/tex] is [tex]1.0035[/tex])

Code:

Looking at the code above, the '**' raises the power of a number to the number you put after the operator, so 1.0035**10  is [tex]1.0035^{10}[/tex]. The '*' operator multiplies the two numbers that are placed before and after the operator, so 1420062022*1.0035 is [tex]1420062022\times 1.0035[/tex].

The expected population in the next ten years is 1,470,554,353 (if we round to the nearest inhabitants since there can't be a decimal amount of inhabitants).

Hope this helps :)

Other Questions
Which was the main way Andean peoples modified their environment to grow more food? A. by building stone walls B. By terraces C. by cutting down forests D. by irrigating fields rewrite as as whole number 40/5 Native bumblebees live in grasslands and consume pollen and nectar from flowers. The bumblebees carry pollen from one plant to another. The bees pollinate most but not all the flowers in their habitat. Amphibians and insects, such as dragonflies, eat bumblebees.A local resident sets up honeybee hives in the habitat of the bumblebees. Honeybees are a nonnative species that eat the same food as the bumblebees. Food now becomes a limiting factor for the bumblebees.How might the populations of flowers, bumblebees, and dragonflies change after the introduction of honeybees to the ecosystem?Group of answer choicesFlowers will increase, bumblebees will decrease, and dragonflies will decrease in population size.Flowers will decrease, bumblebees will decrease, and dragonflies will decrease in population size.Flowers will increase, bumblebees will increase, and dragonflies will increase in population size.Flowers will decrease, bumblebees will decrease, and dragonflies will increase in population size A wise man once said, 400 reduced by 3 times my age is 163. What is his age? ( I need the step by step equation to solve this) Rubin obviously needs to read more about politics beforehe tries to talk about it. He is getting all his informationconfused.This is an example of ainference.A. categoryB. cause-effectC. problem-solutionD. pronoun Andy, Fergus, Evelyn, and Margaret are collecting cans for recycling. Before lunch they have collected a total of 173 cans. At the end of the day, the total number of cans collected can be represented by the expression 173 + n . What does the variable n in the expression represent? Using the graphing function on your calculator, find the solution to the systemof equations shown below.2y- 4x= 6y- 2x=7A. No solutionB. More than 1 solutionC. x= 4, y=-2D. X= -1, y= 1 Please help! 35.1 x 8.4 = ?? can somebody please help out Why would students most likely need to collect data? Check all that apply.to answer a questionto purchase an item onlineto support a positionto understand a problemto sort documents 1. For what purpose were submersibles originally designed? a. Transporting passengers underwater without the threat of storms b. Exploring under the sea c. Smuggling weapons and outlawed materials d. Attacking ships on the surface of the water2. Why was the Sub Marine Explorer originally created? a. To assist the North in the Civil War b. To harvest pearls c. To explore undersea d. To experiment with decompression sickness3. Which is MOST LIKELY to limit the how long a modern submarine can remain submerged? a. The amount of fuel in the submarine b. The air supply in the submarine c. The amount of food and water aboard the submarine d. There is no limit to the amount of time a modern submarine can remain submerged4. How were U-Boats powered? a. Hand crank b. Diesel c. Battery d. Both B & C. e. None of these f. All of these5. Which of the following statements best describes the Turtle according to the text? a. The Turtle was the first submarine used during war to destroy another ship. b. The Turtle was the first submersible used during war to attack another ship. c. The Turtle was the first submersible used during war to destroy another ship. d. The Turtle was the first submarine used during the war to attack another ship. e. The Turtle is the biggest and fastest watercraft in all of human history.6. Which of the following best describes why the author most likely wrote this text? a. To entertain his audience with stories about submarines b. To educate his readers about how submarines work c. To inform his readers about the evolution of submarines d. To convince his audience to purchase a submarine7. Which is the most likely reason why the author wrote the FIRST paragraph? a. To explain a concept that would be referenced throughout the text b. To introduce the main idea of the text c. To get the reader's attention with startling information d. To amuse the reader with an interesting historical anecdote8. Which does NOT describe a way in which the submersibles are different from submarines? a. Submersibles are usually smaller than submarines. b. Submersibles are not capable of independent operation. c. Submersibles can usually spend more time underwater than submarines. d. Submersibles cannot independently renew their air and power supplies.9. Which of the following BEST describes how the text is structured in the first paragraph? a. Compare and Contrast. b. Chronological. c. Problem and Solution. d. Sequence/Process. e. Order of Importance10. Which of these events happened first? a. The Turtle was destroyed. b. Bishop John Wilkins recognized the military potential of submersibles. c. The Sub Marine Explorer was used to harvest pearls. d. Radar and Sonar were invented.11. Which MOST LIKELY explains why U.S. submarines survived the attack on Pearl Harbor? a. Because the Japanese did not value the submarines as worthy targets b. Because the submarines were much smaller that all of the other boats in the U.S. Navy c. Because the Japanese were targeting U.S. submersibles instead d. Because the submarines were submerged and difficult to strike12. Which of the following statements is entirely TRUE? a. Sgt. Ezra Lee invented the Turtle; Cornelius Drebbel invented the first submersible b. Bishop John Wilkins invented the first submersible; David Bushnell invented the Turtle c. David Bushnell invented the Turtle; Julius H. Kroehl invented the Sub Marine Explorer d. Julius H. Kroehl invented the Sub Marine Explorer; John Wilkins invented the U-Boat13. Which of these events happened LAST? a. U.S. submarines survived the attack on Pearl Harbor. b. Sgt. Ezra Lee attempted to blow up a British flagship using a submarine c. U-Boats sank the Lusitania d. Julius H. Kroehl's developed the Sub Marine Explorer14. Which of the following would be the BEST title for this reading passage? a. How Submarines Work b. A Short History of Submarines c. Turtle: The FIrst Combat Submarine d. The Differences Between Submarines and Submersiblesarticle- submarines please help ill give brainliest! Write an expression that is equivalent to three over four (5z+ 16). 15 over four z + 16 15 over four z + 12 three over four z + 16 three over four z + 12 Fill the blanks plz Louis XIII had control and peace in France during his reign. True or false You have $500, sale price is $435. How much change will you get I WILL GIVE BRAINLIEST!!!!!!!!Which choice should be placed in the blank to create the most negative connotation?Certain environmental groups hope to convince the public that it is ____to keep pets. Abusive Unfair Wrong Extravagant what is the essay on macbeth? answer the following questions please TS is an angle bisector. If mRTS=x+10 and mUTS=2x+5, find mRTU.answer choices below 3030 degrees1515 degrees8080 degrees5 ______________ is a printing process in which an image is photographed through a screen on to a sensitized printing plate that after development is etched.