adnanateeq035 adnanateeq035
  • 24-02-2021
  • Computers and Technology
contestada

what is the function of if and else in phython?

Respuesta :

Dezrayyy17
Dezrayyy17 Dezrayyy17
  • 24-02-2021

Answer:

The if..else statement evaluates test expression and will execute the body of if only when the test condition is True . If the condition is False , the body of else is executed. Indentation is used to separate the blocks.

Explanation:

:)

Answer Link

Otras preguntas

what is the inverse of the function f(x)=2x+1?​
Can someone please help me on this? I really need it.
A student believes that the average grade on the statistics final examination is 87. A sample of 36 finalexaminations is taken. The average grade in the sample
This passage is an example of Enlightenment thinking because Wollstonecraft O argues that prejudice has some advantages, o explains the origin of prejudice, O v
Which of the following steps were applied to ABCD to obtain A’B’C’D’ ?
PLEASEEE HELP!!! What is the theme of this poem? I found the words for Loss On a vine upon my wall. Eager for a handful To chew, I plucked A bunch but lost a fe
Explore in what ways the novel, James and the Giant Peach teaches you about the importance of hope in life. Give reasons for your answer and support your argume
find the value of the expression :1/216^-2/3 + 1/256^-3/4 + 1/243^-1/5​
What tells you that the word "heart" is important in both poems? Analyze word choice, imagery, and structure. * The word "heart" is important to each poem's rhy
f(x)=x^3+10x^2-25x-250