veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

293
active users

#codesnippet

0 posts0 participants0 posts today
TechKeysX<p>Swap variable using tuple :<br>This is a Pythonic and efficient way to swap values without using a temporary variable. a, b = b, a<br><a href="https://mastodon.social/tags/PythonTips" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PythonTips</span></a> <a href="https://mastodon.social/tags/OneLinerPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OneLinerPython</span></a> <a href="https://mastodon.social/tags/PythonTricks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PythonTricks</span></a> <a href="https://mastodon.social/tags/CleanCode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CleanCode</span></a> <a href="https://mastodon.social/tags/LearnPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LearnPython</span></a> <a href="https://mastodon.social/tags/CodeSnippet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CodeSnippet</span></a> <a href="https://mastodon.social/tags/100DaysOfCode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>100DaysOfCode</span></a> <a href="https://mastodon.social/tags/DevLife" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DevLife</span></a> <a href="https://mastodon.social/tags/Pythonista" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Pythonista</span></a> <a href="https://mastodon.social/tags/codingmadeeasy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codingmadeeasy</span></a></p>
TechKeysX<p>Slicing Tuple in python:<br>Slicing a tuple in Python means extracting a portion of it using the syntax tuple[start :stop :step].<br><a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://mastodon.social/tags/PythonTips" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PythonTips</span></a> <a href="https://mastodon.social/tags/Tuple" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tuple</span></a> <a href="https://mastodon.social/tags/PythonSlicing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PythonSlicing</span></a> <a href="https://mastodon.social/tags/CodeSnippet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CodeSnippet</span></a> <a href="https://mastodon.social/tags/LearnPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LearnPython</span></a> <a href="https://mastodon.social/tags/DevTips" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DevTips</span></a> <a href="https://mastodon.social/tags/100DaysOfCode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>100DaysOfCode</span></a> <a href="https://mastodon.social/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://mastodon.social/tags/pythonlearning" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pythonlearning</span></a></p>
Rose Newell | codewordcreative<p>🥜 PEANUTS FOR EVERYONE 🥜 </p><p>If you've ever tried to copy anything from my site, you'll have only found peanuts. But now I've decided to share the peanuts.</p><p>This code snippet will allow you to interrupt the standard right click and copy reaction and insert your own witty text, that'll then be copied to the copycat's clipboard.</p><p>Full snippet here, no attribution required.</p><p><a href="https://codewordcreative.com/human-copycats-will-only-collect-peanuts-code-snippet/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codewordcreative.com/human-cop</span><span class="invisible">ycats-will-only-collect-peanuts-code-snippet/</span></a></p><p><a href="https://berlin.social/tags/copycats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>copycats</span></a> <a href="https://berlin.social/tags/plagiarim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>plagiarim</span></a> <a href="https://berlin.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a> <a href="https://berlin.social/tags/wordpress" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>wordpress</span></a> <a href="https://berlin.social/tags/codesnippet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codesnippet</span></a> <a href="https://berlin.social/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://berlin.social/tags/copyright" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>copyright</span></a></p>