(10-30 min)

A conveyor belt carrying bottles Flominator, CC BY-SA 3.0, via Wikimedia Commons
Accept the assignment
You are going to help automation engineers in your company to determine whether a conveyor belt system can safely transport a collection of packages.
The system can be supported by any number of motors. Every motor is able to carry 12 kg of package weight (MOTOR_CAPACITY).
Prompt the user for the number of motors (motor_count) by asking:
How many motors are carrying the packages?
Then, prompt the user for the weight of packages. Assume an integer number:
How many kg of packages do we expect?
If the total package weight (total_package_weight) is less or equal than the total capacity of all motors, then print:
Yes! The conveyor belt can carry the packages.
Otherwise:
No. The conveyor belt cannot carry the packages.
Sample interactions:
How many motors are carrying the packages?
3
How many kg of packages do we expect?
10
Yes! The conveyor belt can carry the packages.
How many motors are carrying the packages?
2
How many kg of packages do we expect?
26
No. The conveyor belt cannot carry the packages.
The template assumes that you are only working with integer numbers (not decimal like 12.3).
You can use +, -, *, / symbols to perform arithmetic operations on two numbers and variables.
Draw a flowchart for this problem. Upload it as flowchart.* in your project folder.
Code your flowchart using the Code Runner on the left. It is normal that you revise your flowchart while you are coding. Store it as main.py in thesrc folder.
Criteria
Flowchart:
| Criteria | Comments |
|---------------------|----------|
| Used correct shapes | |
| Fits description | |
| **Overall** | |
Code:
| Criteria | Comments |
|-------------------------------|----------|
| Variable names are meaningful | |
| Code is easy to follow | |
| Function is correct | |
| **Overall** | |