Skip to content

Commit

Permalink
002: clean output
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Apr 24, 2021
1 parent 599dd41 commit 0af1aa2
Showing 1 changed file with 9 additions and 184 deletions.
193 changes: 9 additions & 184 deletions 002-basic-control-structures/Basic control structures II.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2212,7 +2212,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {
"hideCode": false,
"hidePrompt": false
Expand All @@ -2235,187 +2235,12 @@
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"hideCode": false,
"hidePrompt": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2\n",
"3\n",
"5\n",
"7\n",
"11\n",
"13\n",
"17\n",
"19\n",
"23\n",
"29\n",
"31\n",
"37\n",
"41\n",
"43\n",
"47\n",
"53\n",
"59\n",
"61\n",
"67\n",
"71\n",
"73\n",
"79\n",
"83\n",
"89\n",
"97\n",
"101\n",
"103\n",
"107\n",
"109\n",
"113\n",
"127\n",
"131\n",
"137\n",
"139\n",
"149\n",
"151\n",
"157\n",
"163\n",
"167\n",
"173\n",
"179\n",
"181\n",
"191\n",
"193\n",
"197\n",
"199\n",
"211\n",
"223\n",
"227\n",
"229\n",
"233\n",
"239\n",
"241\n",
"251\n",
"257\n",
"263\n",
"269\n",
"271\n",
"277\n",
"281\n",
"283\n",
"293\n",
"307\n",
"311\n",
"313\n",
"317\n",
"331\n",
"337\n",
"347\n",
"349\n",
"353\n",
"359\n",
"367\n",
"373\n",
"379\n",
"383\n",
"389\n",
"397\n",
"401\n",
"409\n",
"419\n",
"421\n",
"431\n",
"433\n",
"439\n",
"443\n",
"449\n",
"457\n",
"461\n",
"463\n",
"467\n",
"479\n",
"487\n",
"491\n",
"499\n",
"503\n",
"509\n",
"521\n",
"523\n",
"541\n",
"547\n",
"557\n",
"563\n",
"569\n",
"571\n",
"577\n",
"587\n",
"593\n",
"599\n",
"601\n",
"607\n",
"613\n",
"617\n",
"619\n",
"631\n",
"641\n",
"643\n",
"647\n",
"653\n",
"659\n",
"661\n",
"673\n",
"677\n",
"683\n",
"691\n",
"701\n",
"709\n",
"719\n",
"727\n",
"733\n",
"739\n",
"743\n",
"751\n",
"757\n",
"761\n",
"769\n",
"773\n",
"787\n",
"797\n",
"809\n",
"811\n",
"821\n",
"823\n",
"827\n",
"829\n",
"839\n",
"853\n",
"857\n",
"859\n",
"863\n",
"877\n",
"881\n",
"883\n",
"887\n",
"907\n",
"911\n",
"919\n",
"929\n",
"937\n",
"941\n",
"947\n",
"953\n",
"967\n",
"971\n",
"977\n",
"983\n",
"991\n",
"997\n"
]
}
],
"execution_count": null,
"metadata": {
"hideCode": false,
"hidePrompt": false
},
"outputs": [],
"source": [
"# Print all the primes below 1000\n",
"for prime in primes():\n",
Expand All @@ -2436,7 +2261,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {
"hideCode": false,
"hideOutput": false,
Expand Down Expand Up @@ -2978,7 +2803,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.3"
"version": "3.7.6"
},
"livereveal": {
"theme": "beige",
Expand Down

0 comments on commit 0af1aa2

Please sign in to comment.