217k views
0 votes
Assume you previously entered these lines of code.

>>> a = 3
>>> b = 2
>>> c = 0

Which lines of code below generate errors? Select 2 options.

result = a * b - c / (a + c)
result = a * b - c / b
result = ab + bc
result = a * b - b / c
result = a * b - b / (c + b)

User Veljkoz
by
5.1k points

2 Answers

1 vote

Answer:

A and D

Step-by-step explanation:

trust

User Dbz
by
5.1k points
3 votes

Answer:

The correct answer is result = a * b - b / c and result = ab + bc or A and D.

Step-by-step explanation:

I just took the quiz and got it correct.

User Angel Politis
by
5.0k points