CodeX
Published in

CodeX

3 Tricky Python Pattern Printing Practices (Part 2)

If you’re new to Python, here are 3 practice questions to test your Python skills. If you’ve been doing Python for a while, these probably won’t be challenging to you, so I challenge you to do them in one line.

Question 1 — Rectangle Of Strings

You are given a list of strings:

strings = ["apple"…

--

--

--

Everything connected with Tech & Code. Follow to join our 900K+ monthly readers

Recommended from Medium

Ruining Wordle

My Coding Process and How One Size Does Not Fit All

Integromat — six months in-flight

Creating list and table sticky headers

Oracle Test Automation: Why It’s Critical

What are “types” in OOP, really

Dynamic Programming

Keep data in sync between multiple services using ThingsDB

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Zlliu

Zlliu

Full-time Software Engineer. Part-time Python Tutor, Tech Writer & Crypto Investor. Free-time pianist, gamer, gardener & self-proclaimed cook

More from Medium

How to Package Your Python Code

The Difference Between an Average Developer and Genius

Dissecting VSCode Python extension by a dumb approach

7 Good to Know VS Code Extensions for Python Developers