Skip to content

Commit

Permalink
Tue Oct 8 09:20:28 PDT 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
papajohn committed Oct 8, 2024
1 parent d18bb41 commit afe940f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions disc/disc06/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ <h1>
<p>Now switch to Pensieve:</p>

<ul>
<li><strong>Everyone</strong>: Go to <a href="">pensieve.co</a>, log in with your @berkeley.edu email, and <strong>enter your group number</strong> (which was in the email that assigned you to this lab).
<li><strong>Everyone</strong>: Go to <a href="https://tutor.pensieve.co/schools/berkeley/all/cs88/cs88_fa24/0e448bf3-2585-443f-9161-ae20edf4bd8c/open">pensieve.co</a>, log in with your @berkeley.edu email, and <strong>enter your group number</strong> (which was in the email that assigned you to this lab).
Once you're on Pensieve, you don't need to return to this page; Pensieve has all the same content (but more features). If for some reason Penseive doesn't work, return to this page and continue with the discussion.</li>
</ul>

Expand Down Expand Up @@ -303,7 +303,7 @@ <h3 id="q3-word-rope">Q3: Word Rope</h3>
<p><strong>Reminder:</strong> <code>s[&#x2d;1]</code> evaluates to the last element of a sequence <code>s</code>.</p>


<div class="monaco-storable" id="word_rope-input" style="height:360px;"></div>
<div class="monaco-storable" id="word_rope-input" style="height:396px;"></div>
<a href="javascript:void" id="modal-link-word_rope-input">Run in 61A Code</a>
<div class="modal fade" id="modal-word_rope-input" tabindex="-1" role="dialog">
<div class="modal-dialog modal-lg" role="document">
Expand All @@ -319,7 +319,7 @@ <h3 id="q3-word-rope">Q3: Word Rope</h3>
</div>
<div class="storable-status"></div>
<script>
$(() => activateEditor('def word_rope(s):\n &quot;&quot;&quot;Return a rope of the words in string s.\n\n &gt;&gt;&gt; word_rope(&#x27;the ref was wrong&#x27;)\n [&#x27;t&#x27;, &#x27;h&#x27;, &#x27;e&#x27;, [&#x27;r&#x27;, &#x27;e&#x27;, &#x27;f&#x27;, [&#x27;w&#x27;, &#x27;a&#x27;, &#x27;s&#x27;, [&#x27;w&#x27;, &#x27;r&#x27;, &#x27;o&#x27;, &#x27;n&#x27;, &#x27;g&#x27;]]]]\n &quot;&quot;&quot;\n assert s and s[0] != &#x27; &#x27; and s[&#x2d;1] != [ ]\n result = []\n word = _____\n for x in s:\n if x == &#x27; &#x27;:\n "*** YOUR CODE HERE ***"\n else:\n "*** YOUR CODE HERE ***"\n return result\n', "python", "word_rope-input"));
$(() => activateEditor('def word_rope(s):\n &quot;&quot;&quot;Return a rope of the words in string s.\n\n &gt;&gt;&gt; word_rope(&#x27;test&#x27;)\n [&#x27;t&#x27;, &#x27;e&#x27;, &#x27;s&#x27;, &#x27;t&#x27;]\n &gt;&gt;&gt; word_rope(&#x27;the ref was wrong&#x27;)\n [&#x27;t&#x27;, &#x27;h&#x27;, &#x27;e&#x27;, [&#x27;r&#x27;, &#x27;e&#x27;, &#x27;f&#x27;, [&#x27;w&#x27;, &#x27;a&#x27;, &#x27;s&#x27;, [&#x27;w&#x27;, &#x27;r&#x27;, &#x27;o&#x27;, &#x27;n&#x27;, &#x27;g&#x27;]]]]\n &quot;&quot;&quot;\n assert s and s[0] != &#x27; &#x27; and s[&#x2d;1] != [ ]\n result = []\n word = _____\n for x in s:\n if x == &#x27; &#x27;:\n "*** YOUR CODE HERE ***"\n else:\n "*** YOUR CODE HERE ***"\n return result\n', "python", "word_rope-input"));
</script>


Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1436,7 +1436,7 @@ <h3><a href="/articles/about">Policies</a></h3>

});

let build_time = new Date(1000 * 1728334108.343207);
let build_time = new Date(1000 * 1728404342.853178);
</script>
<script>
$('.alwaystoggle').css('display', 'inline-block');
Expand Down

0 comments on commit afe940f

Please sign in to comment.