equal
deleted
inserted
replaced
164 In []: a[1] = 10 |
164 In []: a[1] = 10 |
165 \end{lstlisting} |
165 \end{lstlisting} |
166 What is the output? |
166 What is the output? |
167 \end{frame} |
167 \end{frame} |
168 |
168 |
169 \begin{frame}[fragile] |
169 %% \begin{frame}[fragile] |
170 \frametitle{\incqno} |
170 %% \frametitle{\incqno} |
171 \begin{lstlisting} |
171 %% \begin{lstlisting} |
172 def func(x, y=10): |
172 %% def func(x, y=10): |
173 print x+1, y+10 |
173 %% print x+1, y+10 |
174 |
174 |
175 func(1) |
175 %% func(1) |
176 |
176 |
177 \end{lstlisting} |
177 %% \end{lstlisting} |
178 What is the output? |
178 %% What is the output? |
179 \end{frame} |
179 %% \end{frame} |
180 |
180 |
181 \begin{frame} |
181 %% \begin{frame} |
182 \frametitle{\incqno} |
182 %% \frametitle{\incqno} |
183 How many items can a function return? |
183 %% How many items can a function return? |
184 \end{frame} |
184 %% \end{frame} |
185 |
185 |
186 \end{document} |
186 \end{document} |