Why print(int("10000", 3))
is equal to 81?
the 3
should indicate base 3
how familiar are you with number systems other than the decimal one?
like, binary, ternary, octal, exadecimal… ?
1 Like
I was watching pluralsight core python tutorial for refreshing my basic python knowledge. I am not very familiar with the number systems u mentioned besides binary.
Well if you know binary, then you can apply the knowledge to base 3.
okay, thank you. i will read about binary again.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.