Oct-07-2019, 03:30 PM
(Oct-07-2019, 01:55 PM)tantony Wrote: What does that do? Is chunk a reserved word in python?
No, chunk is not keyword in Python. If one splits w on whitespace the resulting items in list are not words nor numbers hence name chunk. Alternative names could have been item or el (element).
In English (using item instead of chunk): “give me slice of item starting at index 3 converted to integer and multiplied with 100 for every item in list created by splitting w if item starts with one of specific three letter combinations”
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.