Unclear question

The question doesn’t include which conversions I have to make code for which is failing 1 test case.

Hey @mitrapranav0027_5d705c8b616e0add you also have to make octal to binary and vice versa also you have forgot hexadecimal as well. That’s why you are failing one test case.

I have made the octal to binary(and vice versa) conversions. How do I make code for hexadecimal conversions though?

hey @mitrapranav0027_5d705c8b616e0add see this for reference

But the question says all outputs and inputs are integers.

yes you are right, just follow the algo upto integer part. Rest everything is right.

I did follow the algo for every possible conversion but still there’s a testcase error. Can you check my code and see if there’s an error

hey i am not able to find this question on hackerblocks, take these test cases and try manually which test cases are you failing and then apply the changes in your code

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.