Question
assignment from the skool of rock USING PYTHON OBJECTIVE : to input a 6 digit binary number such as 100111 or any other binary number
assignment from the skool of rock
USING PYTHON
OBJECTIVE : to input a 6 digit binary number such as 100111 or any other binary number
each bit will have a weighting,
1 =32
0= nothing
0= nothing
1= 4
1= 2
1= 1
in this example my output is 32,2,1
a have an input list which has 100011
a weighting list which has 32,16,8,4,2,1
an empty list which would be output list
i am struggling to have the input match the weighting.
i can't use any special functions within this
PLEASE ONLY ANSWER THIS CORRECTLY AS ANY RANDOM JIBBERISH WILL JUST GET A THUMBS DOWN- i asked before and the answer was not correct and it took seconds therefore clearly just copied and pasted alsewhere without even checking the output result.
much appreciated for anyone who can actually help though
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started