I am new to Mathematica, this forum and programming in general.
I m trying to fulfill a given task. I want to write a function, which takes as input an positive integer, say $n$, and returns a table of all possible bit strings of length $n$. So, for example, f[3]
should return
{{0, 0, 0}, {0, 0, 1}, ..., {1, 1, 1}}
If anyone could help me I'd be grateful.