Python Program - Prime or NOT

preview_player
Показать описание
Write a Python function to check a number is prime or not. Function should return True if the number is prime; else False
#python #coding #prime
Рекомендации по теме
Комментарии
Автор

Can you explain why number=2 shows up as prime in the code when 2÷2=0? I know 2 is prime

daniellejdevlin
Автор

If n is whole number greater than 1, what will be the range?

SnehaS-grfp
Автор

Bro please help i want urgent this program
Question: design machine learning model which takes number as input and tells us whether the entered number is prime or not

mdtechtamizha
Автор

It didn't work. I did exactly what was shown in the video.

Tortle
Автор

দাদা, ইংরেজিতে যথেষ্ট টিউটোরিয়াল আছে। আপনি বাংলাতে টিউটোরিয়াল দিন।

shahidullahmiazi
welcome to shbcf.ru