File tree Expand file tree Collapse file tree
Python_Basics/Prime_Numbers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 "cell_type" : " markdown" ,
3535 "metadata" : {},
3636 "source" : [
37- " ## Method 1 "
37+ " ## Approach 1: For Loop "
3838 ]
3939 },
4040 {
8585 "cell_type" : " markdown" ,
8686 "metadata" : {},
8787 "source" : [
88- " ## Method 2 "
88+ " ## Approach 2: For Loop with Break "
8989 ]
9090 },
9191 {
144144 "cell_type" : " markdown" ,
145145 "metadata" : {},
146146 "source" : [
147- " ## Method 3 "
147+ " ## Approach 3: For Loop, Break, and Square Root "
148148 ]
149149 },
150150 {
207207 "source" : [
208208 " primes"
209209 ]
210+ },
211+ {
212+ "cell_type" : " markdown" ,
213+ "metadata" : {},
214+ "source" : [
215+ " ## Approach 4: Sieve of Eratosthenes"
216+ ]
217+ },
218+ {
219+ "cell_type" : " code" ,
220+ "execution_count" : null ,
221+ "metadata" : {
222+ "collapsed" : true
223+ },
224+ "outputs" : [],
225+ "source" : []
210226 }
211227 ],
212228 "metadata" : {
You can’t perform that action at this time.
0 commit comments