Post History
Sandbox
Set in sets in sets [cancelled]
#1: Initial revision
Set in sets in sets
Make a program that outputs either parentheses, brackets, or braces to represent sets, and the premise is a positive integer input. Output sets in sets, and the higher the number, the more sets encased in each other. - `1` outputs `{}`. - `2` outputs `{{}}`. - `5` outputs `{{{{{}}}}}` - `16` outputs `{{{{{{{{{{{{{{{{}}}}}}}}}}}}}}}}`. Shortest program wins.