Timeline for Automate the boring stuff with python - Comma Code v2
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 13, 2023 at 13:14 | history | edited | Reinderien | CC BY-SA 4.0 |
added 1952 characters in body
|
Jun 13, 2023 at 13:14 | comment | added | Reinderien | That's not in the problem statement, but it is in the OP's code so okay | |
Jun 13, 2023 at 6:59 | comment | added | Jarne Vercruysse |
if len(items) > 2: Are u not missing that statement between yield str(item) and yield ', ' . To only place a comma with 3 items in a list? How do you mean golden opportunity?
|
|
Jun 13, 2023 at 5:47 | comment | added | FMc |
'foo, and bar' ?
|
|
Jun 13, 2023 at 2:33 | history | answered | Reinderien | CC BY-SA 4.0 |