0
1.6kviews
Write a python program to check if the entered no is prime or not
1 Answer
0
183views

Explanation:-

  • Take a no as an input from the user & store the number in variable number then and pass on this number to a prime function.
  • Check if the number is greater then 1 if not then show a message representing enter the valid number.
  • Iterate over the range …

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.