Hi, my name is Michael. I like learning new stuff.
I live in Tübingen and Würzburg.
I am a chemist by profession and mostly work around automation of chemical analysis systems in the semiconductor industry.
I have been programming since the C64 days and have been a heavy Python user at work since 2011, after I started learning it in 2008.
@EveryMuffinIsNowEncrypted
Careful about “is” and “is not”
These compare identity of objects, which in CPython usually checks if objects are at the same memory address.
This works for some objects like True, False, None and small integer numbers, since they are created as unique objects when the interpreter starts.
Usually you would use == or != for these types of comparison. See below an example where “is” fails comparing two identical float numbers.