Question: Computer Programming - GENG 2 3 0 Project 1 - Fall 2 0 2 4 Write a Python program that reads data from the file
Computer Programming GENG
Project Fall
Write a Python program that reads data from the file "beams.txt This file contains information about several beams used in a construction project. Each line in the file includes a beam's ID length in meters width in meters and height in meters separated by commas. The text file can be found on Blackboard in the same post. The program should perform the following tasks:
Print the title "Beam Dimensions and Properties" inside a bounding box using a function similar to boxString as demonstrated in Chapter
Display a formatted table with each beam's ID length, width, height, crosssectional area width height and volume length width height Additionally, display the total volume of all beams at the end of the table.
Identify and mark the beam with the largest and smallest volume in the table generated in the previous part.
Calculate the number of beams with a crosssectional area above and below the average crosssectional area. Write a function called countbeamsbycrosssection that takes a list of all crosssectional areas as input and returns a tuple with two values: the number of beams with an aboveaverage crosssectional area and the number of beams with a belowaverage crosssectional area.
Organize your program using the main function.
Notes
The deadline for the project is Monday November
Submit only your Python file to Blackboard. Other forms of files will not be accepted.
Late submissions will not be accepted.
Do not submit by email, as it will not be accepted.
If your submission contains a code you did not write on your own or using AI tools, you will receive a reward of please make it easier snd the code slightly different
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
