
A social news aggregator for the #Python community
Joined October 2019
- Tweets913
- Following178
- Followers294
- Likes235
Bas Steins: Advanced #Django ORM – discuss: news.python.sc/item/49b3ee16… youtube.com/watch?v=F1vaEBDx…
1
1
First, let's see how these cross-sums of dates are distributed between Jan 1, 1900, and Feb 24, 2022.
1
🇺🇦🐍
This picture is shared on Twitter.
It insinuates that there is a conspiracy because a numbers game from the dates of the start of WW I and WW II yields 68 just like the date of the start of the war in Ukraine.
Let's use Python to debunk this conspiracy theory
1
2
💡 A #Python Quiz 🐍
What will the type of x be?
my_range = range(5)
x = {*my_range}
print(type(x))
❓Do you know what this #Python code does?
💡Hint: If you have ever learnt something about #algorithm|s, this code should be like an old friend to you 🤔
‼️ Here is the solution: 🔥
...but how does it work❓
If you remove 0 from the array, and append it, the 0 is moved to the end. Ok. But Why is this in a loop?
1
💡A small #Python #puzzle for your next #jobinterview:
You have a list of integers - While keeping the relative order of the elements, move all zeroes to the end.
Any idea how to solve this? 🔥
💡Did you know that the `key` argument to the `max` function can be a callable? And that you can find the word with the most repeating letter with just that little #Python code?
9 Python Data Visualization Examples using Seaborn – discuss: news.python.sc/item/df6dd912… youtu.be/W_YUk8IvsqI
1










