Is it possible to findout All 'Prime Number' between 1 to N by using Python3?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is it possible to findout All 'Prime Number' between 1 to N by using Python3??

Input: It's a integer number which represent the max Number. Suppose it is 100 Output: It's represent All prime number between 1 to 100(My input) Anyone please give me the code

14th Jun 2020, 4:34 AM
M.A. Masud Karim Nayeem
5 Answers
+ 1
Everything is possible
14th Jun 2020, 4:36 AM
Shariff
Shariff - avatar
+ 1
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 bro I know that it must solve with loop but i need clue about How to detect that it is prime or not??
14th Jun 2020, 6:25 AM
M.A. Masud Karim Nayeem
+ 1
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 Many Many thanks bro..I can understand ☺☺
14th Jun 2020, 6:45 AM
M.A. Masud Karim Nayeem
0
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 Thanks for information can you give me any clue or something else to finout the idea
14th Jun 2020, 6:06 AM
M.A. Masud Karim Nayeem
- 1
Shariff so please give me the code
14th Jun 2020, 5:53 AM
M.A. Masud Karim Nayeem