+ 1

Python

Hi I had a question about programming Please help Python take a number from base b to base 10 and print it

14th Jan 2021, 8:46 PM
hamed ghorbany
hamed ghorbany - avatar
3 Réponses
+ 3
hamed ghorbany , please do not ask for ready codes here, but try to do this task by yourself first. if you struggle with this, it is recommended that you continue learning from the python tutorial (you have just started...), or go back some steps and repeat this some parts. Thanks
15th Jan 2021, 10:16 AM
Lothar
Lothar - avatar
+ 2
Take the digits one at a time from least to most significant and progressively multiply them by powers of b, and taking the sum of these products.
14th Jan 2021, 9:21 PM
Sonic
Sonic - avatar
0
Can you please do this for me, please?
15th Jan 2021, 3:47 AM
hamed ghorbany
hamed ghorbany - avatar