Comment

Comment by notinventedhear

> '''"""''';print("Hello, World!");"""'''"""

This is still one line of code.

It is a valid python program . This is because python will join strings that are adjacent strings (eg. "foo " "bar" is evaulated just like "foo bar") and while multiline strings are commonly used as comments they are evaluated as a string-literal rather than a comment.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton