Answered step by step
Verified Expert Solution
Link Copied!

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 ? image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions

Question

Consistently develop management talent.

Answered: 1 week ago

Question

Create a refreshed and common vision and values across Europe.

Answered: 1 week ago

Question

Provide the best employee relations environment.

Answered: 1 week ago