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
What techniques does this Renaissance painting by Antione Carcon use to create depth? Give at least one example.
mel-nik [20]

an artist can use to create depth in a painting are layering and overlapping, changing size and placement, linear perspective, and relative color, hue and value.

Explanation:

I don't have an explanation, but I hope this works for you. Also, this is my first time using... this. so I'm really sorry if it didn't help.

6 0
3 years ago
What types of internal differences and divisions exist within your faith?
maksim [4K]
I am a Christian. 
I have been to many different churches in many different states. 
In every church they have different morals and different ways of teaching. 
In my faith we are called to be disciples and to make disciples yet many people choose to ridicule you and gossip when they are Christians and they go to the same church.
Their are questions of how can Christianity can be Monotheistic when we believe that the holy spirit and Jesus are just as great as the father (God) 
Their is some debate as to if Jesus was who he said he was and if he was how can he be human and son of God.
Their is differences of when/ if he will come again
differences of when earth will be destroyed
Differences of if heaven exists or not
Differences about hell and if it is underground or not
Differences in laws in the Bible and the different versions. If the old laws should still apply in today's society or not. And if we even have to listen to a book and do what it says.
Some say it is irrelevant.
7 0
3 years ago
1. What were two problems Rosa Parks had as a child?
adell [148]

Answer:

She didn't have kids

6 0
3 years ago
Read 2 more answers
How did the oil industry change Venezuela?​
Mandarinka [93]

Answer:

communism

Explanation:

7 0
3 years ago
Which of these conditions should completely prevent the occurrence of natural selection in a population over time?
sveta [45]
Advanced technologies
5 0
3 years ago
Read 2 more answers
Other questions:
  • the change in the total benefit that comes from an action is the _____ . utility benefit marginal benefit greatest benefit
    14·1 answer
  • Refer back to the video on the previous screen and consider the reasons why these Colombian teenagers began the special election
    8·1 answer
  • Another aspect of time out that relates to its effectiveness is that it prevents the ______ from being_____
    10·1 answer
  • What were three things Japanese "borrowed" from Korea and China?
    14·1 answer
  • Judge Kayla Hamm hears a civil case about alleged sexual harassment. Judge Hamm strongly feels like the Defendant should be held
    13·1 answer
  • What level of government has primary policy making responsibility?
    15·1 answer
  • Even though scientists can predict when and where tornadoes may occur, why do these storms still catch people by surprise?
    8·1 answer
  • Which best describes the impact of the War of 1812 on western settlement in the US?
    10·1 answer
  • Who does miguel meet who says he can help him find de la cruz?
    8·1 answer
  • arenting, teaching, and involvement in the community are examples of how middle-aged adults can develop
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!