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

Control Flow in Python Assignment

You answeredJUST NOW
Python
You passed all test cases!
STDIN
2
Expected STDOUT
2 is prime
Your STDOUT
2 is prime
STDIN
15
Expected STDOUT
15 is not prime
Your STDOUT
15 is not prime
STDIN
431
Expected STDOUT
431 is prime
Your STDOUT
431 is prime
STDIN
100
Expected STDOUT
100 is not prime
Your STDOUT
100 is not prime
STDIN
203
Expected STDOUT
203 is not prime
Your STDOUT
203 is not prime
STDIN
223
Expected STDOUT
223 is prime
Your STDOUT
223 is prime

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Alec KretchAUG 26, 2022, 5:23:29 PM
Python

Was this helpful?

(Voting helps us personalize your learning experience!)
imgControl Flow in Python Presentation (pages 7, 8)

Was this helpful?

(Voting helps us personalize your learning experience!)
Think you've got it?
Select one 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.