Tagged articles
6 articles
Page 1 of 1
FunTester
FunTester
Jul 30, 2019 · Fundamentals

Exploring Python Lambdas: Prime Filtering and a Heart‑Shaped Print

The author revisits a prime‑number filter using Python's lambda syntax, then refactors a one‑line heart‑shape printer into clearer loops, showcasing how lambda expressions and list comprehensions can simplify mathematical visualizations while deepening understanding of Python's expressive power.

ASCII artCode ExampleHeart Shape
0 likes · 3 min read
Exploring Python Lambdas: Prime Filtering and a Heart‑Shaped Print
FunTester
FunTester
Jul 11, 2019 · Fundamentals

Print a Heart Shape in Java with a Single Stream Expression

This article demonstrates how to generate a heart‑shaped pattern directly in the console using a concise Java one‑liner that leverages IntStream ranges, mathematical formulas, and conditional character selection, providing the complete code and a visual result.

Console ArtHeart ShapeIntStream
0 likes · 3 min read
Print a Heart Shape in Java with a Single Stream Expression
FunTester
FunTester
Jul 2, 2019 · Fundamentals

Print a Heart Shape in Java Console with a Single Stream Expression

This article demonstrates how to generate a heart-shaped pattern directly in the Java console using a compact IntStream‑based one‑liner, explaining the mathematical formula and stream operations that produce the visual output without external libraries.

ASCII artHeart ShapeIntStream
0 likes · 3 min read
Print a Heart Shape in Java Console with a Single Stream Expression