Skip to content

Update Day 5.md#81

Merged
darkprinx merged 1 commit into
darkprinx:masterfrom
mhsiao345:patch-1
Jul 23, 2026
Merged

Update Day 5.md#81
darkprinx merged 1 commit into
darkprinx:masterfrom
mhsiao345:patch-1

Conversation

@mhsiao345

Copy link
Copy Markdown

add new solution to question 16

@darkprinx

Copy link
Copy Markdown
Owner

Thanks for the solution! This diff adds a closing code fence but there's no opening fence before your code, so it isn't wrapped as a code block — and that stray closing fence ends up closing whatever block happens to come next in the file instead. Could you wrap your solution in its own python ... block (opening fence before '''Solution by: mhsiao345''', closing fence after your list comprehension line)?

@darkprinx
darkprinx merged commit 87faa52 into darkprinx:master Jul 23, 2026
@darkprinx

Copy link
Copy Markdown
Owner

Went ahead and merged this with your solution wrapped in its own python ... block (it previously had a closing fence with no matching opening one), and added a print() call since the list comprehension by itself produces no visible output when run as a script. Thanks for the contribution! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants