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

Unit 4: Iteration - Review Assignment

You answeredJUST NOW
  • Solution
  • Unit test #1
  • Unit test #2
  • Unit test #3
  • Unit test #4
  • Unit test #5
Python
You passed all unit tests!
Unit test number
1
Expected STDOUT
5
4
3
2
1
0
Your STDOUT
5
4
3
2
1
0
Unit test number
2
Expected STDOUT
10
9
8
7
6
5
4
3
2
1
0
Your STDOUT
10
9
8
7
6
5
4
3
2
1
0
Unit test number
3
Expected STDOUT
0
Your STDOUT
0
Unit test number
4
Expected STDOUT
invalid input
Your STDOUT
invalid input
Unit test number
5
Expected STDOUT
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Your STDOUT
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Alec KretchOCT 28, 2022, 3:56:32 PM
Python

Was this helpful?

(Voting helps us personalize your learning experience!)
img4.4 Recursion - Lesson

Was this helpful?

(Voting helps us personalize your learning experience!)
Think you've got it?
  • Short answer field
Submit answer

Was this helpful?

(Voting helps us personalize your learning experience!)

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