Latest Awards
Complete 10 python programs which focus on loops.

morgan

Score over 100 points in total

vincebanter10

Complete any 5 python programs

vincebanter10

Complete 3 python list based tasks

vincebanter10

Complete 5 python list based tasks

vincebanter10

Complete 10 python list based tasks

dman12

Score over 1000 points in total

april-logan

Complete any pygame task

april-logan

Complete any 3 pygame tasks

april-logan

You have to complete 5 pygame tasks

april-logan

Score over 500 points in total

sam-edmund

Complete any pygame task

sam-edmund

Complete any 3 pygame tasks

sam-edmund

You have to complete 5 pygame tasks

sam-edmund

Complete any pygame task

12wrigleyf

Complete any 3 pygame tasks

12wrigleyf

You have to complete 5 pygame tasks

12wrigleyf

Score over 500 points in total

jhoughton12

Complete any 10 python prograns

jhoughton12

Complete 10 python programs which focus on loops.

jhoughton12

Python Score
tasks = 0
achivements = 0
freestyle = 0
Total = 0
Top 5 Scores
114gilo 3420
2joss-nolan-2 2490
3alexdawkins 2475
4byrnebrian 2040
512wattsl 1710
Click to view all scores
Who else completed this task?
8 people have completed this task! Below are some of those users!

14gilo hxyshul
idle matth
hulmeo craig-brooker
elliot-robinson chloe

There are 10 ways to do this problem…

Binary is used by computers but is little understood by mere mortals like us! The best thing we can do is create a binary converter!

So the converter will take in a string of 1s and 0s and output the denary value.

However, what if the number is in 2’s complement. We better output both just to be sure. An example run of the program would be –


Binary value - 1100
This is 12 (normal) or -4 (2's complement)

Write the program which will do this conversion.

You need to log in or create an account to submit code!

Leave a Reply

You must be logged in to post a comment.