Track Lua
Lua track

Diamond

An exercise from the Lua track
medium

About this exercise

Given a letter, print a diamond starting with 'A' with the supplied letter at the widest point.

algorithms
control flow loops
strings
text formatting
View all solutions