+ 2
the 1. sets a to "dhfkdjdb" the 2. line first takes all letters instead the first 2 (fkdjdb) and of this string the first 6 letters. But fkdjdb has only 6 letters so [:6] does not change anything.
13th Apr 2018, 8:55 PM
Tim
Tim - avatar