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
write a 1,000-word report on two different ways that you, as a young citizen, can become active in politics that would help prom
soldier1979 [14.2K]
Sorry, can't just write a 1,000 word report for you. But here's some basic things: Since young citizens can't really vote, they can still be well informed about people like local legislators, or more politicians. They can also find a topic that they care about, or try discussing politics with parents while encouraging them to support their areas of interest; their parents can vote. Hope this helps, I guess?
5 0
2 years ago
The best way to do well in an interview is to _____. maintain eye contact with the interviewer blame a previous employer for let
omeli [17]

Answer: Maintain eye contact with the interviewer

Explanation:

EYE CONTACT in an interview is very important and sends certain messages chief amongst them being that one is confident and full of self esteem which are traits that employers love.

In maintaining eye contact, the interviewer can also gauge your preparedness and interest in the job as our eyes give off cues in conversation.

8 0
2 years ago
Answer this question pls
inna [77]
You should be able to get the answers from this chart ;)

5 0
3 years ago
Which Native American tribe lived in the Canadian Shield??1
Alexxx [7]
I believe the native american tribe you are looking for is the algonquin tribe
6 0
3 years ago
Read 2 more answers
The Continental Congress formed under the Articles of Confederation had several weaknesses. One of the Congress's few achievemen
Harlamova29_29 [7]

Under the Articles, the government did manage to negotiate an end to the Revolutionary War, with the signing of the Treaty of Paris in 1783.

5 0
3 years ago
Other questions:
  • Which Chinese religious text, whose title translates to The Book of Changes, influenced Hinduism in India?
    15·1 answer
  • 2. What ocean is found at 20° south and 100° east?
    5·1 answer
  • ________ proposed that two things have to happen before emotion occurs:physical arousal and labeling. schachter and singer the c
    14·1 answer
  • Carma is 60 years old. Compared to when she was a child, Carma's:
    6·1 answer
  • Just after the construction of a bridge, financed by a revenue bond, massive flooding causes part of the bridge to collapse. The
    7·1 answer
  • Which of the following is the view that delinquency is learned from others and that delinquent behavior is to be expected of ind
    11·2 answers
  • A disorder characterized by deficits in social relatedness and communication skills, and often accompanied by repetitive, ritual
    11·1 answer
  • To what extent were young people impacted by Mao Zedong’s Cultural Revolution?
    13·1 answer
  • My contributions to the community ​
    11·1 answer
  • Would you rather own a horse the size of a cat or a cat the size of a horse?
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!