- 2

How to write code for create a list which contain all the prime numbers from 1 to 100.

25th Jun 2021, 9:51 AM
Prabodh Gupt
Prabodh Gupt - avatar
2 Antworten
+ 2
Probably google a bit and show the code you have tried so far . Anyway this question is asked and answered like thousands of time , so shouldn't be difficult to search for it . Also mention the language name that is relevant to your question in tags please.
25th Jun 2021, 9:56 AM
Abhay
Abhay - avatar
0
If you google and trying to do this in python, you might find this link: https://stackoverflow.com/questions/18265935/python-create-list-with-numbers-between-2-values
25th Jun 2021, 4:22 PM
Paul
Paul - avatar