I have the following program.
What I wanted to print in p_m() is 2 (the decimal value) of "0b10" which is what I'm passing to p_m() as first argument and getting this value "0b10" in variable x and just printing that x.
inside the function is NOT working like the first line in the program?
What should I do in p_m()'s print statement to print the value of "0b10
" as 2