+ 1
What is wrong in this program?
5 Réponses
+ 2
There is no any problem with code.
.int() function in Python converts a number in given base to decimal.
Syntax:-
int(string, base)
Always return a decimal output.
In your code "10" of base 8 is equal to 8 in decimal system.
+ 1
Thanks
+ 1
Ur welcome 😊