Question: 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 ? i have this code to run an addresses value but it does

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)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!