Create a function that returns how many possible arrangements can come from a certain number of switches (on / off). In other words, for a given number of switches, how many different patterns of on and off can we have?
PosCom(1) ➞ 2
PosCom(3) ➞ 8
PosCom(10) ➞ 1024All numbers will be whole and positive.