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

Unit 2: Control Flow - Review Assignment

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 KretchAUG 24, 2024, 3:46:58 PM
Python

Was this helpful?

(Voting helps us personalize your learning experience!)
img2.3 If Statements - Lesson

Was this helpful?

(Voting helps us personalize your learning experience!)
img2.2 Booleans - Lesson

Was this helpful?

(Voting helps us personalize your learning experience!)
img2.1 Functions - Lesson

Was this helpful?

(Voting helps us personalize your learning experience!)
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.