Top Tweets for #100DaysOfPythonTips
Day 38/100 of #100DaysOfPythonTips
π: Why __name gets mangled to _Class__name
Itβs not for security.
Itβs not real privacy.
Itβs simply to prevent accidental overrides in subclasses.
#Python #pythonlearn #100DaysOfCode

Day 35/100 of #100DaysOfPythonTips. Today let's learn about a dict method called "dict.fromkeys". We can remove duplicates from a sequence(ie. list) with the help "dict.fromkeys"
#Python #Python3 #100DaysOfCode #CodeNewbie

Day 34/100 of #100DaysOfPythonTips. Let's explore possible cases, and the ones used in Python.
#Python #Python3 #100DaysOfCode #CodeNewbies
#DEVCommunity

Day 33/100 of #100DaysOfPythonTips. Another commonly asked interview question is -> How would you reverse a string in Python? Like this πΆοΈπ
#Python #Python3 #100DaysOfCode #CodeNewbie

BTW, you can check the #100DaysOfPythonTips hashtag, to see all bit-size Python tips in one place π
Test yourself. How many did you know ? π€¨More to come everyday... you can ping me for a request
#Python #Python3 #100DaysOfCode #CodeNewbies
Day 31/100 of #100DaysOfPythonTips. Today is an easy one. The built-in 'hasattr' function. If you ever find yourself asking: "Does my object hasattr x?" Let's learnπβοΈ
#Python #Python3 #100DaysOfCode #DEVCommunity #CodeNewbies

Day 30/100 of #100DaysOfPythonTips. Today we are going deep into __hash__ and __eq__. In the past, I was asked in two interviews about __hash__ Let's see it in action β‘οΈ
#Python #Python3 #100DaysOfCode #DEVCommunity #CodeNewbies

Day 29/100 of #100DaysOfPythonTips. Common interview question -> "hash" and it's relation with dict. Today is just about built-in function 'hash'. Tomorrow would be more detailed, also about __hash__ dunder method π
#Python #Python3 #100DaysOfCode #DEVCommunity #CodeNewbies

Day 28/100 of #100DaysOfPythonTips. Have you got a KeyError while accessing one of your dict values?
-get- method to the rescue!
#Python #Python3 #100DaysOfCode #DEVCommunity #CodeNewbies

Day 27/100 of #100DaysOfPythonTips. What is SimpleNamespace? Let's use dot notation like in JS to access attributes of a mapping type, instead of square bracket notation.
#Python #Python3 #100DaysOfCode

Day 26/100 of #100DaysOfPythonTips. How to split a word(a string without whitespace) to a chars of list. Let's figure it out π§
#Python #Python3 #100DaysOfCode

Day 25/100 of #100DaysOfPythonTips. Let's look at the one of the first built-in functions of beginner Pythonistas.
#Python #Python3 #100DaysOfCode #100daysofpython

Day 24/100 of #100DaysOfPythonTips. Yesterday we saw shallow copying in Python. Today we go deep into this subject and explore π§ deep copying in Python. Simplest explanation ever π
Follow me for more Python tips every day π₯³
#Python #Python3 #100DaysOfCode #100DaysOfCode

Day 23/100 of #100DaysOfPythonTips. One of the most asked interview questions in Python is -> What is shallow copying? Let's learn ππ€
#Python #Python3 #100DaysOfCode #100daysofpython

Day 22/100 of #100DaysOfPythonTips. Better use "bool" function to return a Boolean value.
#Python #Python3 #100DaysOfCode #100daysofpython

Day 21/100 of #100DaysOfPythonTips. Yes, we can slice like this -> my_list[1:9:2]. But we can also store the slice in a variable, and pass around.Let's see the built-in "slice" function.
#Python #Python3 #100DaysOfCode #100daysofpython
![flowfelis's tweet photo. Day 21/100 of #100DaysOfPythonTips. Yes, we can slice like this -> my_list[1:9:2]. But we can also store the slice in a variable, and pass around.Let's see the built-in "slice" function.
#Python #Python3 #100DaysOfCode #100daysofpython https://t.co/zU2Cj4qLs9](https://pbs.twimg.com/media/EeXgZr8X0AEelrE.png)
Day 20/100 of #100DaysOfPythonTips. How can you get a named attribute of an object with a string? instead of `my_object.my_atrr` -> getattr(my_object, 'my_attr'). Isn't that nice?
#Python #Python3 #100DaysOfCode #100daysofpython

Day 19/100 of #100DaysOfPythonTips. Today, let's take a close look on the built-in function: "any", which means "if any of the items in a given iterator are truthy?"
#Python #Python3 #100DaysOfCode #100daysofpython

Day 18/100 of #100DaysOfPythonTips. Today, we continue with one of the built-in functions again, which is "all".
#Python #Python3 #pythondevelopers #100DaysOfCode #100daysofpython

I gave a long break and I'm bending the rules a bit here, but I'm back ππ
Day 17/100 of #100DaysOfPythonTips. How would you create a for loop with indexes in Python? "enumerate" to the rescue!
#PythonProgramming #Python3 #pythondevelopers #100DaysOfCode #100daysofpython

Last Seen Hashtags on Sotwe
momsonn
Seen from United States
nolimit() momson filter:native_video
Seen from Brazil
ιγ·γ§γ³
Seen from Japan
crystalrush
Seen from Turkey
Jerkingoff #gay
Seen from Ukraine
mistress indian
Seen from Qatar
Teenager
Seen from Singapore
nolimit()*++filter:native_video
Seen from Turkey
omegle
Seen from United States
TrueAwareness
Seen from United States
Trends for you
Most Popular Users

Elon Musk 
@elonmusk
241.5M followers

Barack Obama 
@barackobama
119M followers

Cristiano Ronaldo 
@cristiano
113.8M followers

Donald J. Trump 
@realdonaldtrump
111.8M followers

Narendra Modi 
@narendramodi
107.2M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92.4M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.6M followers

Taylor Swift 
@taylorswift13
83.6M followers

Lady Gaga 
@ladygaga
75.1M followers

Virat Kohli 
@imvkohli
72.8M followers

Kim Kardashian 
@kimkardashian
70.7M followers

YouTube 
@youtube
68.8M followers

Neymar Jr 
@neymarjr
65.8M followers

Bill Gates 
@billgates
64.9M followers

Selena Gomez 
@selenagomez
62.7M followers

The Ellen Show
@theellenshow
62.3M followers

CNN 
@cnn
61.8M followers

X 
@x
60.7M followers
