Question: Write a Python function that returns a format string that takes 3 integer arguments that it returns the general format A / B = C,

Write a Python function that returns a format string that takes 3 integer arguments that it returns the general format A / B = C, where A, B and Cmust be in displayed in binary.

For example,

>>> fmt_str_5().format( 23, 4, 23 // 4 ) '10111 / 100 = 101'

***should print out ( 10111 / 100 = 101 )***

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!