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
Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof…" —First Amendment
nydimaria [60]
It is likely C, the Senate and the house of representatives...
6 0
3 years ago
Describe the difference between revolution a rotation explain why each is important
Vikki [24]
Revolution is the way something is growing throughout time. rotation is the when something is taken turbs throughout time
3 0
3 years ago
Read 2 more answers
Four pie charts titled Occupations in Europe. The top left chart is labeled France. Services is 72 percent, Industry is 24 perce
Elanso [62]

Answer:

Frances haves the most services but also haves the least amount of agriculture with Italy. Italy has the biggest industry out of the four though. Romania haves the most agriculture with 30% ,and Poland haves the most even services, industry, and agriculture of the bunch.

6 0
3 years ago
Read 2 more answers
Explain the difference between a right and a responsibility. <br><br> helppp i’m taking a test
VMariaS [17]

Answer:

A responsibility is something you have to do or (at least) ought to do. A right is something you are allowed to do or permitted to do. You have no obligation to exercise your right.

8 0
3 years ago
Kent is an accountant who is terribly bored and frustrated with his current position. he feels he is not paid nearly enough and
Karo-lina-s [1.5K]
I believe the answer is: Kent

In psychology, burnout refers to a situation when people experience stress in their workplace due to some sort of unresolvable issues.
According to researchers, the chance of burnout increase dramatically when a person fail to develop a sense of belonging in the workplace (which could be caused by the feeling of not being appreciated)
5 0
3 years ago
Other questions:
  • Fasting during Ramadan.
    7·1 answer
  • To be elected to the General Assembly, both representatives and senators must be U.S. citizens, Georgia residents for _____ year
    8·1 answer
  • HELP ME PLEASE I WILL GIVE BRAINLIEST!!
    10·1 answer
  • Brian often interrupts his teacher while she is speaking and frequently forgets to complete his homework assignments. He also ha
    13·1 answer
  • What supernatural creature can be found in many of Shakespeare's plays?
    15·1 answer
  • Lorena believes she can get an A in physics this semester; that is, Lorena has self-efficacy. Name three other social and emotio
    6·2 answers
  • Each of the following is a disadvantage of using cash EXCEPT:
    6·1 answer
  • What happened to Henry Clay’s state in 1861?
    14·1 answer
  • Puckett products is planning for $2.9million in copitale expenditures next year pucketts target capitale structute consists of 6
    6·1 answer
  • The practice of allowing a gifted student to skip grades to accommodate his or her giftedness is called:_____.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!