1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Alex Ar [27]
3 years ago
7

What do we do to a Python statement that is immediately after an if statement to indicate that the statement is to be executed o

nly when the if statement is true?
Social Studies
1 answer:
Anastasy [175]3 years ago
8 0

Answer:

Indent the line below the if statement

Explanation:

In python,

<expr> is an expression evaluated in Boolean context,

<statement> is a valid statement, which must be indented.

If <expr> is true then <statement> is executed. If false, <expr> , the <statement> is skipped over and is not executed.

An example of such statements is:

>>> num_1 = 3

>>> num_2 = 6

>>> if num_1 < num_2:                            

...     print('yes')

This statement is true and will be printed. However, if the statement were to be false, that is :

>>> if  num_1 > num_2:                          

...     print('yes')

This statement is skipped over and will not be executed.

You might be interested in
​ACST University is well known for the wide array of courses it offers. It offers courses in fine arts, humanities, science, and
Varvara68 [4.7K]

Answer:departmentalization

Explanation:Departmentalization is defined as a process that groups activities into different departments. These departments are created so that tasks can be performed by specialization within the organization.

Departmentalization also refers to an organization’s formal structure that includes several departments and positions and their respective relationship with each other.

4 0
3 years ago
Relatively spontaneous social behavior which occurs when people try to develop common solutions to unclear situations.
Pavlova-9 [17]

Egenuity says the answer is Collective Behavior ^-^

6 0
3 years ago
Read 2 more answers
Impeachment of a president means that the president is:
ipn [44]

Answer:

Impeachment proceedings begin when the president is accused of <em>treason</em>,<em> bribery </em>or<em> other high crimes </em>and<em> misdemeanors</em>.

Explanation:

A misdemeanor is a type of offense punishable under criminal law. A misdemeanor is typically a crime punishable by less than 12 months in jail. Community service, probation, fines, and imprisonment for less than a year are commonly issued punishments for misdemeanors.

4 0
2 years ago
Select all that apply.
Ksenya-84 [330]
Choosing a career
Education
Training
6 0
3 years ago
How does discrimination harm everyone?
Lunna [17]

Answer:

it makes them feel like they are not part of the society ,which is hurtful

Explanation:

5 0
3 years ago
Other questions:
  • The power to enact legislation is exclusively reserved to what group in Georgia?
    7·2 answers
  • What was most significant about Robert Fulton’s steamboat run of 1807?
    5·2 answers
  • When you send an email from the US to Europe, it likely is transmitted from one continent to another through one of the ______ t
    11·1 answer
  • How do government regulators protect consumers.?
    5·2 answers
  • Discuss two ways in which some cultural views that exist may affect a relationship negatively​
    10·1 answer
  • Aqueducts were used in which ancient indigenous empire ?
    6·2 answers
  • Why was the Chinese river called the river of sorrow
    6·2 answers
  • Most people in Canada live near the northern border.
    14·2 answers
  • In the United States, what does the general level of a family’s income have to do with the amount of cash the family is likely t
    10·1 answer
  • Please answer all 4.ANY SILLY ANSWERS WILL BE REPORTED LIKE TYPING SOMETHING RANDOM.IF YOU DON'T KNOW THE ANSWER DON'T ANSWER.LI
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!