You can use this assignment in your class!
Mastery Progress(100.0%)
i

You answeredJUST NOW
Python
You passed all test cases!
STDIN
1 3
Expected STDOUT
-10
Your STDOUT
-10
STDIN
3 3
Expected STDOUT
20
Your STDOUT
20
STDIN
7 3
Expected STDOUT
10
Your STDOUT
10
STDIN
-25 25
Expected STDOUT
-10
Your STDOUT
-10
STDIN
-25 -29
Expected STDOUT
10
Your STDOUT
10

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Alec KretchSEP. 10, 2021 AT 11:08 AMstarTop Answer
Python

Was this helpful?

(Voting helps us personalize your learning experience!)
img2.3 If Statements - Lesson
img2.2 Booleans - Lesson
img2.1 Functions - Lesson
Think you've got it?
Select one or more of the following options:
  • A.
  • B.
  • C.
  • D.
  • E.
Submit answer

Was this helpful?

(Voting helps us personalize your learning experience!)

You may exit out of this review and return later without penalty.