summaryrefslogtreecommitdiff
path: root/day2/cheatsheet1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'day2/cheatsheet1.tex')
-rwxr-xr-xday2/cheatsheet1.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/day2/cheatsheet1.tex b/day2/cheatsheet1.tex
index 22289b3..6ddb1ee 100755
--- a/day2/cheatsheet1.tex
+++ b/day2/cheatsheet1.tex
@@ -108,7 +108,7 @@ In []: x, y = 1, 1.234 #initializing two variables
In []: 'x is %s, y is %s' %(x, y)
Out[]: 'x is 1, y is 1.234'
\end{lstlisting}
-\textbf{Note:} \typ{\%s} used in above fomatting specifies \typ{'str'} representation of variables. One can also try:\\
+\textbf{Note:} \typ{\%s} used in above formatting specifies \typ{'str'} representation of variables. One can also try:\\
\typ{\%d} for \typ{int} representation\\
\typ{\%f} for \typ{float} representation
\begin{lstlisting}