Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d1bdde4

Browse files
committed
Numbers
1 parent ce3261b commit d1bdde4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ from random import random, randint, choice, shuffle, gauss, seed
531531
<int> = <int> & <int> # And
532532
<int> = <int> | <int> # Or
533533
<int> = <int> ^ <int> # Xor (0 if both bits equal)
534-
<int> = <int> << n_bits # Shift left (>> for right)
534+
<int> = <int> << n_bits # Left shift (>> for right)
535535
<int> = ~<int> # Not (also: -<int> - 1)
536536
```
537537

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@
631631
<div><h3 id="bitwiseoperators">Bitwise Operators</h3><pre><code class="python language-python hljs">&lt;int&gt; = &lt;int&gt; &amp; &lt;int&gt; <span class="hljs-comment"># And</span>
632632
&lt;int&gt; = &lt;int&gt; | &lt;int&gt; <span class="hljs-comment"># Or</span>
633633
&lt;int&gt; = &lt;int&gt; ^ &lt;int&gt; <span class="hljs-comment"># Xor (0 if both bits equal)</span>
634-
&lt;int&gt; = &lt;int&gt; &lt;&lt; n_bits <span class="hljs-comment"># Shift left (&gt;&gt; for right)</span>
634+
&lt;int&gt; = &lt;int&gt; &lt;&lt; n_bits <span class="hljs-comment"># Left shift (&gt;&gt; for right)</span>
635635
&lt;int&gt; = ~&lt;int&gt; <span class="hljs-comment"># Not (also: -&lt;int&gt; - 1)</span>
636636
</code></pre></div>
637637

0 commit comments

Comments
 (0)