Skip to content

Commit 931f123

Browse files
committed
Esercizi per provare
1 parent 9831f69 commit 931f123

File tree

3 files changed

+252
-5
lines changed

3 files changed

+252
-5
lines changed

Part 1/Section 02 - A Quick Refresher/01 - Multi-Line Statements and Strings.ipynb

Lines changed: 130 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,13 @@
316316
},
317317
{
318318
"cell_type": "code",
319-
"execution_count": 22,
320-
"metadata": {},
319+
"execution_count": 1,
320+
"metadata": {
321+
"ExecuteTime": {
322+
"end_time": "2020-06-14T08:13:36.293554Z",
323+
"start_time": "2020-06-14T08:13:36.288555Z"
324+
}
325+
},
321326
"outputs": [
322327
{
323328
"name": "stdout",
@@ -421,6 +426,68 @@
421426
"print(a)"
422427
]
423428
},
429+
{
430+
"cell_type": "code",
431+
"execution_count": 2,
432+
"metadata": {
433+
"ExecuteTime": {
434+
"end_time": "2020-06-14T08:14:38.233951Z",
435+
"start_time": "2020-06-14T08:14:38.227954Z"
436+
}
437+
},
438+
"outputs": [
439+
{
440+
"name": "stdout",
441+
"output_type": "stream",
442+
"text": [
443+
"This is a multi-line strings:\n",
444+
" 1) Ciao;\n",
445+
"2)Arrivederci;\n"
446+
]
447+
}
448+
],
449+
"source": [
450+
"a = \"\"\"This is a multi-line strings:\\n 1) Ciao;\\n2)Arrivederci;\"\"\"\n",
451+
"print(a)"
452+
]
453+
},
454+
{
455+
"cell_type": "code",
456+
"execution_count": 3,
457+
"metadata": {
458+
"ExecuteTime": {
459+
"end_time": "2020-06-14T08:15:20.989892Z",
460+
"start_time": "2020-06-14T08:15:20.985894Z"
461+
}
462+
},
463+
"outputs": [
464+
{
465+
"name": "stdout",
466+
"output_type": "stream",
467+
"text": [
468+
"This string\n",
469+
" is over different\n",
470+
" \n",
471+
" lines\n"
472+
]
473+
}
474+
],
475+
"source": [
476+
"a = \"\"\"This string\n",
477+
" is over different\n",
478+
" \n",
479+
" lines\"\"\"\n",
480+
"\n",
481+
"print(a)"
482+
]
483+
},
484+
{
485+
"cell_type": "code",
486+
"execution_count": null,
487+
"metadata": {},
488+
"outputs": [],
489+
"source": []
490+
},
424491
{
425492
"cell_type": "markdown",
426493
"metadata": {},
@@ -563,7 +630,67 @@
563630
"name": "python",
564631
"nbconvert_exporter": "python",
565632
"pygments_lexer": "ipython3",
566-
"version": "3.6.1"
633+
"version": "3.7.4"
634+
},
635+
"latex_envs": {
636+
"LaTeX_envs_menu_present": true,
637+
"autoclose": false,
638+
"autocomplete": true,
639+
"bibliofile": "biblio.bib",
640+
"cite_by": "apalike",
641+
"current_citInitial": 1,
642+
"eqLabelWithNumbers": true,
643+
"eqNumInitial": 1,
644+
"hotkeys": {
645+
"equation": "Ctrl-E",
646+
"itemize": "Ctrl-I"
647+
},
648+
"labels_anchors": false,
649+
"latex_user_defs": false,
650+
"report_style_numbering": false,
651+
"user_envs_cfg": false
652+
},
653+
"toc": {
654+
"base_numbering": 1,
655+
"nav_menu": {},
656+
"number_sections": true,
657+
"sideBar": true,
658+
"skip_h1_title": false,
659+
"title_cell": "Table of Contents",
660+
"title_sidebar": "Contents",
661+
"toc_cell": false,
662+
"toc_position": {},
663+
"toc_section_display": true,
664+
"toc_window_display": false
665+
},
666+
"varInspector": {
667+
"cols": {
668+
"lenName": 16,
669+
"lenType": 16,
670+
"lenVar": 40
671+
},
672+
"kernels_config": {
673+
"python": {
674+
"delete_cmd_postfix": "",
675+
"delete_cmd_prefix": "del ",
676+
"library": "var_list.py",
677+
"varRefreshCmd": "print(var_dic_list())"
678+
},
679+
"r": {
680+
"delete_cmd_postfix": ") ",
681+
"delete_cmd_prefix": "rm(",
682+
"library": "var_list.r",
683+
"varRefreshCmd": "cat(var_dic_list()) "
684+
}
685+
},
686+
"types_to_exclude": [
687+
"module",
688+
"function",
689+
"builtin_function_or_method",
690+
"instance",
691+
"_Feature"
692+
],
693+
"window_display": false
567694
}
568695
},
569696
"nbformat": 4,

Part 1/Section 02 - A Quick Refresher/02 - Conditionals.ipynb

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,67 @@
235235
"name": "python",
236236
"nbconvert_exporter": "python",
237237
"pygments_lexer": "ipython3",
238-
"version": "3.6.1"
238+
"version": "3.7.4"
239+
},
240+
"latex_envs": {
241+
"LaTeX_envs_menu_present": true,
242+
"autoclose": false,
243+
"autocomplete": true,
244+
"bibliofile": "biblio.bib",
245+
"cite_by": "apalike",
246+
"current_citInitial": 1,
247+
"eqLabelWithNumbers": true,
248+
"eqNumInitial": 1,
249+
"hotkeys": {
250+
"equation": "Ctrl-E",
251+
"itemize": "Ctrl-I"
252+
},
253+
"labels_anchors": false,
254+
"latex_user_defs": false,
255+
"report_style_numbering": false,
256+
"user_envs_cfg": false
257+
},
258+
"toc": {
259+
"base_numbering": 1,
260+
"nav_menu": {},
261+
"number_sections": true,
262+
"sideBar": true,
263+
"skip_h1_title": false,
264+
"title_cell": "Table of Contents",
265+
"title_sidebar": "Contents",
266+
"toc_cell": false,
267+
"toc_position": {},
268+
"toc_section_display": true,
269+
"toc_window_display": false
270+
},
271+
"varInspector": {
272+
"cols": {
273+
"lenName": 16,
274+
"lenType": 16,
275+
"lenVar": 40
276+
},
277+
"kernels_config": {
278+
"python": {
279+
"delete_cmd_postfix": "",
280+
"delete_cmd_prefix": "del ",
281+
"library": "var_list.py",
282+
"varRefreshCmd": "print(var_dic_list())"
283+
},
284+
"r": {
285+
"delete_cmd_postfix": ") ",
286+
"delete_cmd_prefix": "rm(",
287+
"library": "var_list.r",
288+
"varRefreshCmd": "cat(var_dic_list()) "
289+
}
290+
},
291+
"types_to_exclude": [
292+
"module",
293+
"function",
294+
"builtin_function_or_method",
295+
"instance",
296+
"_Feature"
297+
],
298+
"window_display": false
239299
}
240300
},
241301
"nbformat": 4,

Part 1/Section 02 - A Quick Refresher/03 - Functions.ipynb

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,67 @@
603603
"name": "python",
604604
"nbconvert_exporter": "python",
605605
"pygments_lexer": "ipython3",
606-
"version": "3.6.1"
606+
"version": "3.7.4"
607+
},
608+
"latex_envs": {
609+
"LaTeX_envs_menu_present": true,
610+
"autoclose": false,
611+
"autocomplete": true,
612+
"bibliofile": "biblio.bib",
613+
"cite_by": "apalike",
614+
"current_citInitial": 1,
615+
"eqLabelWithNumbers": true,
616+
"eqNumInitial": 1,
617+
"hotkeys": {
618+
"equation": "Ctrl-E",
619+
"itemize": "Ctrl-I"
620+
},
621+
"labels_anchors": false,
622+
"latex_user_defs": false,
623+
"report_style_numbering": false,
624+
"user_envs_cfg": false
625+
},
626+
"toc": {
627+
"base_numbering": 1,
628+
"nav_menu": {},
629+
"number_sections": true,
630+
"sideBar": true,
631+
"skip_h1_title": false,
632+
"title_cell": "Table of Contents",
633+
"title_sidebar": "Contents",
634+
"toc_cell": false,
635+
"toc_position": {},
636+
"toc_section_display": true,
637+
"toc_window_display": false
638+
},
639+
"varInspector": {
640+
"cols": {
641+
"lenName": 16,
642+
"lenType": 16,
643+
"lenVar": 40
644+
},
645+
"kernels_config": {
646+
"python": {
647+
"delete_cmd_postfix": "",
648+
"delete_cmd_prefix": "del ",
649+
"library": "var_list.py",
650+
"varRefreshCmd": "print(var_dic_list())"
651+
},
652+
"r": {
653+
"delete_cmd_postfix": ") ",
654+
"delete_cmd_prefix": "rm(",
655+
"library": "var_list.r",
656+
"varRefreshCmd": "cat(var_dic_list()) "
657+
}
658+
},
659+
"types_to_exclude": [
660+
"module",
661+
"function",
662+
"builtin_function_or_method",
663+
"instance",
664+
"_Feature"
665+
],
666+
"window_display": false
607667
}
608668
},
609669
"nbformat": 4,

0 commit comments

Comments
 (0)