Can someone help me with my python code please? i am getting a syntax error i cant figure out. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can someone help me with my python code please? i am getting a syntax error i cant figure out.

i want to input a binary(number) and have it converted to decimal and later hex too. https://code.sololearn.com/c3z8OD0RN9fT/?ref=app

6th Oct 2019, 11:24 AM
thomsane
thomsane - avatar
4 Answers
+ 1
You missed a ")" on line 22
6th Oct 2019, 11:37 AM
Nico Ruder
Nico Ruder - avatar
0
thx mate, i probably need a break when im not able to spot that^^ also i get new errors -.-
6th Oct 2019, 11:53 AM
thomsane
thomsane - avatar
0
i have an updated version of the code here, worked out another way, but now i have the math wrong...cant geht behind whats wrong again https://code.sololearn.com/cfbI01iCokcb/?ref=app
6th Oct 2019, 12:12 PM
thomsane
thomsane - avatar
0
thx *** :) yeah i had forgotten that i reversed the list so i could do it that easy in the first place...doh
6th Oct 2019, 12:27 PM
thomsane
thomsane - avatar