199k views
14 votes
Identify when programmers use an Else statement.

O to use an If statement in its place to make the test answer true.
O to use an expression instead of a conditional statement to make the answer false
O to tell the program to take a different action when the If statement answer is false
O to tell the program to give different information when the test answer is true.

plz help it's an assignment question on edgunuity and i need help. which one is it.

User TJF
by
6.9k points

2 Answers

6 votes

Answer:

C. I got it right on edge.

Step-by-step explanation:

User Ahmed Kamal
by
7.3k points
5 votes

Answer:

to tell the program to take a different action when the If statement answer is false

Step-by-step explanation:

if x = 0:

print('x equals 0')

else:

print('x equals something else that isnt 0')

User Rich Pollock
by
7.3k points