Question: using python, The initial value of num _ laptops is read from input. Assign num _ desktops with the sum of num _ laptops and

using python, The initial value of num_laptops is read from input. Assign num_desktops with the sum of num_laptops and 2. Then, assign num_laptops with the same value as num_desktops. Lastly, assign total_computers with the sum of num_laptops and num_desktops.
Click here for example
Ex: If the input is 4, then the output is:
6 laptops
6 desktops
12 total

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!