Question: How do I make my python code set up in a tabular format? I cannot figure out in Thorny how to print out my code

How do I make my python code set up in a tabular format? I cannot figure out in Thorny how to print out my code in tabular format. This is the set up and I have to calculate the missing numbers. in sectors and capacity for each row of Partition number 1,2,3 and 4. The program should allow any of the following or similar hex strings (this means you need an input statement!): 00020300060333C78000000000100300000334C7060A4A208010030000600100000A6B220602A202807804000070030000000000000000000000000000000000
The output should be in tabular format and be displayed as indicated below.
Partition Number Start Sector Size in Sectors End Sector Capacity(MB) Partition Gap in Sectors
112820070420083198 None
220083290112290943442049
3 x x x
4
x x x
x = the correctly calculated values
Capacity = Size in Sectors *512/1048576
End Sector = Starting sector + Size in Sectors -1
Partition Gap In Sectors = Start of Next Partition - End of Previous Partition (if no gap exists then print None)- The example above takes the calculation of the 3rd partition(not shown) into the formula!I

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!