Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i have this code to run an addresses value but it does not work, did i miss any steps ? def addresses(): while True: values=
i have this code to run an addresses value but it does not work, did i miss any steps ? def addresses(): while True: values= input ("enter hex value: ") split_address value= values.split('x',1) print ('hex value of', values, 'is:', split_address_value[1]) int_val= int(split_address_value[1], 16) print('Integer value of', values ,'is: ', int_val) bin_val=bin (int_val) [2:] #bin val2 =bin_val.split('b',1) print('Binary value of', values, 'is: ',bin_val) 14 addresses)
i have this code to run an addresses value but it does not work, did i miss any steps ?
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