You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
author = a_baumgartner_gary # and # a_heap_danny # and # a_krueger_richard,
647
678
title = {Course Notes for {CSC165H}: Mathematical Expression and Reasoning for Computer Science},
@@ -927,6 +958,16 @@ @book{LH2015DSAAWP
927
958
isbn = {978-3-319-13071-2},
928
959
}
929
960
961
+
@book{LLHSVRZSJYYMC2024MOSTFP,
962
+
author = a_lehtosalo_jukka # and # a_levkivskyi_ivan # and # a_hance_jared # and # a_smith_ethan # and # a_van_rossum_guido # and # a_zijlstra_jelle # and # a_sullival_michael_j # and # a_jain_shantanu # and # a_yang_xuanda # and # a_ye_jingchen # and # a_sobolev_nikita # and # {{\mypy~Contributors}},
963
+
title = {\mypy\ -- Static Typing for \python},
964
+
date = {2024},
965
+
publisher = p_github,
966
+
address = pa_github,
967
+
url = {https://github.com/python/mypy},
968
+
urldate = {2024-08-17},
969
+
}
970
+
930
971
@book{LNL2020LJ,
931
972
author = a_loy_marc # and # a_niemeyer_patrick # and # a_leuck_daniel,
932
973
title = {Learning \pgls{Java}},
@@ -1049,6 +1090,15 @@ @proceedings{PROC2016OSDI
1049
1090
isbn = {978-1-931971-33-1},
1050
1091
}
1051
1092
1093
+
@proceedings{PROC2018ESECFSE,
1094
+
title = {Proceedings of the 2018 {ACM} Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering ({ESEC/SIGSOFT}~{FSE}'18), } # nov # {~4-9, 2018, } # l_usa_lake_buena_vista,
1095
+
editor = a_leavens_gary_t # and # a_garcia_alessandro # and # a_pasareanu_corina_s,
1096
+
publisher = p_acm,
1097
+
address = pa_acm,
1098
+
date = {2018-10-26},
1099
+
isbn = {978-1-4503-5573-5},
1100
+
}
1101
+
1052
1102
@proceedings{PROC2019NEURIPS,
1053
1103
title = {Advances in Neural Information Processing Systems~32: Annual Conference on Neural Information Processing Systems 2019~({NeurIPS'19}), } # dec # {~8-14, 2019, } # l_canada_vancouver,
1054
1104
editor = a_wallach_hanna_m # and # a_larochelle_hugo # and # a_beygelzimer_alina # and # a_d_alche_buc_florence # and # a_fox_emily_b # and # a_garnett_roman,
The \python\ Package Index~(PyPI) is an online repository that provides the software packages that you can install with~\pip~\cite{PSF2024TPPIP,BB2019AEAOTPPIP,VVH2018ELDOSAIOSPACSOTPE}. %
Copy file name to clipboardExpand all lines: text/main/basics/variables/assignment/assignment.tex
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@
117
117
We can use \pythonil{int_var} just like any other value.
118
118
For example, we can compute \pythonil{2 + int_var} and pass the result to the \pythonilIdx{print} function.
119
119
This will then print \pythonil{3} to the standard output of our program.
120
-
We can also use \pythonil{int_var} in f-strings\pythonIdx{f-string}\pythonIdx{str!f} about which we leared back in \cref{sec:fstrings}.
120
+
We can also use \pythonil{int_var} in \pglspl{fstring}\pythonIdx{f-string}\pythonIdx{str!f} about which we leared back in \cref{sec:fstrings}.
121
121
\pythonil{f"int_var has value \{int_var\}."} will render to \pythonil{"int_var has value 1."}.%
122
122
\end{sloppypar}%
123
123
%
@@ -135,7 +135,7 @@
135
135
Ofcourse, we can have multiple variables.
136
136
The command \pythonil{float_var = 3.5} creates a variable named \pythonil{float_var}.
137
137
It also allocates a piece of memory, writes the floating point value \pythonil{3.5} into it, and lets \pythonil{float_var} point to that piece of memory, as illustrated in \cref{fig:variable:assignment3}.
138
-
We can use this variable in an f-string\pythonIdx{f-string}\pythonIdx{str!f} as well:
138
+
We can use this variable in an \pgls{fstring}\pythonIdx{f-string}\pythonIdx{str!f} as well:
139
139
\pythonil{print(f"float_var has value \{float_var\}.")} is interpolated to \pythonil{"float_var has value 3.5."}.%
0 commit comments