3 Tricky Python Questions — Pattern Printing Practices

Liu Zuo Lin
CodeX
Published in
4 min readMar 1, 2022

--

If you’re kinda starting out in Python, here are 3 tricky questions to test your ability. If you’ve been doing Python for a while, these probably won’t be tricky for you at all — but I challenge you to solve these questions in one line (one-liner solutions won’t be in this article, will be in the next)

The Questions

1) Christmas Tree

--

--