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
Logical are functions used when looking for an entry or value in the spreadsheet. what is it?
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
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
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 declarationExplanation:
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!
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 :)
What voting rights law did you choose?
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.
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)
Answer:
c = 1
while (c <= num):
print (name)
c = c + 1
Explanation:
dont ask :)