Hacker News new | ask | show | jobs
by wskinner 1971 days ago
This is easily avoidable in python by using single quotes for the outer string and double quotes for the inner string, or vice versa. Or, use triple quotes for the outer string.
1 comments

Yeah, if you get to the level of nesting where having available quotes is an issue, you really need to break it up into multiple expressions.