I’m Doing the Introduction of Code 2024 in Python — Day 4 | by Soner Yıldırım | Dec, 2024

Let’s see what number of stars we’ll accumulate.

Picture by Nong on Unsplash

Welcome to Day 4!

  • Day 1 for introduction, get the enter to your personal puzzle, and options to the primary day’s puzzles.
  • Day 2, Day 3

We’ll study concerning the following matters within the puzzle for Day 4:

  • Listing comprehension in Python
  • Find out how to work with one-dimensional and two-dimensional NumPy arrays
  • Find out how to transpose and flip NumPy arrays

As of writing this text, 22 puzzles have been launched and every puzzle has two elements. Every half counts for a begin and right here is my present progress:

(picture by writer)

The puzzle enter for Day 4 is an extended string that incorporates the letters X, M, A, and S. The primary 10 traces of my puzzle enter appears to be like like this:

(picture by writer)