<code><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">myEmptyFunc</span>():</span> <span class="hljs-comment"># do nothing</span> <span class="hljs-keyword">pass</span> myEmptyFunc() <span class="hljs-comment"># nothing happens</span> <span class="hljs-comment">## Without the pass keyword</span> <span class="hljs-comment"># File "<stdin>", line 3</span> <span class="hljs-comment"># IndentationError: expected an indented block</span></code>
Joymercy Asked question June 6, 2023
