Answer:
i hope the program below will help you!
Explanation:
Answer:
Terraform is an open-source infrastructure as code software tool that enables you to safely and predictably create, change, and improve infrastructure.
Answer:
shortNames = ['Gus', 'Bob','Zoe']
Explanation:
In this assignment, your knowledge of list is been tested. A list is data structure type in python that can hold different elements (items) of different type. The general syntax of a list is
listName = [item1, "item2", item3]
listName refers to the name of the list variable, this is followed by a pair of square brackets, inside the square brackets we have items separated by commas. This is a declaration and initialization of a list with some elements.
The complete python code snippet for this assignment is given below:
shortNames = ['Gus', 'Bob','Zoe']
print(shortNames[0])
print(shortNames[1])
print(shortNames[2])
User enters:
lemur parrot cat rock
Outputs:
You have a lemur with a total of 1 pet(s)
You have a parrot with a total of 2 pet(s)
You have a cat with a total of 3 pet(s)
Following are the python program to use the loop to count the number of pets until the user enters the "rock":
c = 0#defining a variable c that initilzes with 0
p = input()#defining a variable p that input value
while p != 'rock':#defining a loop that check p value not equal to rock
c += 1#using c variable for counts total number of pets
print('You have a %s with a total of %d pet(s)' %(p,c))#print total number of pet
p = input() #input value
Output:
Please find the attached file.
Program Explanation:
Find out more about the loop here:
Answer:
Following is given the data as required.
The images for histograms for age and gender are also attached below.
I hope it will help you!
Explanation:
Answer:
(III) machines don't strike or file grievances.
(IV) machines are always less expensive than human labor.
Explanation:
The advantage of automation among the option is:
(III) machines don't strike or file grievances - Machine has the advantage of not going on strike or filing grievances. It just obey instruction. Strike are human way of showing grievances. With automation, there is no issue of strike or filing for grievance.
(IV) machines are always less expensive than human labor - Machines as a means of automation are very cheap when compared to human labor. The only added cost for machine is the added cost after the cost of purchase. For human labor, the cost is not fixed or predictable.
Answer:
Computer software, or simply software, is a collection of data or computer instructions that tell the computer how to work. This is in contrast to physical hardware, from which the system is built and actually performs the work.
Explanation: