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

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 KretchSEP 19, 2021, 2:56:34 PM
Python

Was this helpful?

(Voting helps us personalize your learning experience!)
imgProgramming Using Python Day 3 Presentation (page 11)

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.