Checking for Prime Number
Checking for Prime number in Python
Test Case: case=1: input=5 output=IsPrime case=2: Input=10 output=NotaPrime Code: num=int(input()) if num>…
Test Case: case=1: input=5 output=IsPrime case=2: Input=10 output=NotaPrime Code: num=int(input()) if num>…