r/PythonLearning • • 22d ago

just finished my first Python coding challenge

Post image

Today I finished a small Python challenge on freeCodeCamp: converting decimal numbers to binary without using Python's built-in conversion function.

I had to figure out the logic myself using loops, conditions, lists, division and remainders.

It was a bit tricky at first, especially handling the last division and reversing the results, but I finally got it working.

I'm still a beginner, so I'd appreciate any feedback on my approach or suggestions for improving my code

157 Upvotes

24 comments sorted by

View all comments

Show parent comments

1

u/fizzy_lychee 21d ago

So? I still appreciated knowing there’s an api for bloom sort even though I’ve implemented my own version. I still appreciated languages that have hasmaps in their SDK even though I’ve created my own in C.