Crystal by example: Values
Values are an important concept in programming, and in Crystal it is no different.
The main values in Crystal are strings, chars, integers, floats, and booleans. There are others, but these are more specific these main values are called primitive types.
puts "My string"puts 'λ'puts true && falseputs 77 + 33puts 3.145 * 2$ crystal run values.cr
My stringλfalse1106.29 Next example: Variables