2 ms·
Yeah, it was a great mind-blown moment for me when I discovered that accessing the first character is idempotent in Python: s[0] == s[0][0][0][0]
by falcor84 8y ago
Yeah, it was a great mind-blown moment for me when I discovered that accessing the first character is idempotent in Python:
s[0] == s[0][0][0][0]