Python Program to Check entered Number for Prime or Composite

preview_player
Показать описание
In this tutorial, you will learn to write a Python Program to Check whether the Number Entered by the User is Prime or Composite Number.

A Prime Number is a natural number greater than 1 which is completely divisible only by 1 and itself. if a natural number is not a prime number then it is called as a Composite Number.

our Social Media Pages

Our Website

#ExampleProgram
Рекомендации по теме
Комментарии
Автор

Many thanks for creating this video. It is extremely clear, concise, to the point and really informative... Welldone Job..

sameerkumar
Автор

Thank you @Example Program this is informative and builds knowledge.

manjunathks
Автор

Nice explanations and thank you so much. but In your program, if the number is 2, the program will not give the expected answer.

akithsham