Question # 6
Dropdown
Choose the line of code that completes this program.

Output:

dog named Tiger

class pet:
def __init__(self,strSpecies,strName):
self.species = strSpecies
self.petName = strName

def __str__(self):
return self.species + " named " + self.petName

def changeName(self, newName):
self.petName = newName

# main program
myPetA = pet('dog', 'Spot')


print(myPetA)

Answers

Answer 1

Answer:

myPetA.changeName('Tiger') should be it

Explanation:

Answer 2

Answer:

myPetA.changeName('Tiger')

Explanation:

Correct answer edge 2020


Related Questions

Write a simple JavaScript function named makeFullName with two parameters named givenName and familyName. The function should return a string that contains the family name, a comma, and the given name. For example, if the function were called like this: var fn = makeFullName("Theodore", "Roosevelt");

Answers

Answer:

Explanation:

Ji

A JavaScript function exists as a block of code created to accomplish a certain task.

What is a JavaScript function?

In JavaScript, functions can also be described as expressions. A JavaScript function exists as a block of code created to accomplish a certain task.

Full Name with two parameters named given Name and family Name

#Program starts here

#Prompt User for Input "given Name and family Name "

given Name = input("Enter Your given Name: ")

family Name = input("Enter Your family Name: ")

#Define Function

def last F(given Name, Family Name):

  given Name = given Name[0]+"."

  print(Last Name+", "+Family Name);

last F(given Name, Family Name) #Call Function

#End of Program

To learn more about JavaScript function

https://brainly.com/question/27936993

#SPJ2

_________ can be used to provide access control, confidentiality, data origin authentication, connectionless integrity, rejection of replayed packets, and limited traffic flow confidentiality.

Answers

Answer:

IPSec

Explanation:

IPSec is an acronym for Internet Protocol Security. It is a standardized protocol used in determining the cryptographic and authenticated packets across the Internet Protocol networks.

It can be utilized to establish access control, confidentiality, data origin authentication, connectionless integrity, rejection of replayed packets, and limited traffic flow confidentiality.

write c++ program from 1to 100 to find prime numbers using statement.

please help me​

Answers

Answer:

int count;

for (int i = 1; i <= 100; i++){

count = 0;

for (int j = 1; j <=i; j++)

if (i%j==0) count ++;

if (count == 2) cout << i << " ";

}

.NET
It is considered the College database.
1. Create a console application to display the information
from the Teacher table.
2. Create a Windows Forms application for
entering the information in the Teacher table


3. For the Teacher table:
a) create its XML representation;
b) display the representation in a Windows application
Forms in alphabetical order by teacher name (
without idprof);
c) Display each name and surname of each teacher
together with the department to which he belongs.

Please help, need at least the first 2 exercises.

Answers

Answer:

This is called contradiction cloud responsibility (CCR)

Explanation:

Whose guidelines should you follow for the destruction of storage media such as thumb drives, Zip drives, and computers?

Answers

Answer:

Depends how bad you want to hide something. If the drive has previously been encrypted and the password hashed (like AES-256 with SHA-512 hashing), then deleting the content is enough since it will be slightly overridden and thus unusable. If it is not encrypted already, delete it, and override all your disk space with something. If you want it to die as a secrete 100%, burn it and pulverize it. Otherwise, if you want a quick method, use some real delete software.

Other Questions
In the 1950s, the structure of DNA was discovered by using models and x-ray chromatography. Currently, science has used advanced technology to completely map out the genes in a humans body. What would be the best advantage of using this information? 7Add: 4.0 + 3y + 2z and 3x + 5y + 3z How can you increase the gravitational potential energy (GPE) of an empty shoe box on the middle shelf of a bookcase? creative writing based on a picture Ill mark you brilliant!!!!!!!Iftheequationofalineis2x+y=6,whatistheslope?2. Iftheequationofalineis4x-y=8,whatistheslope?3. What is the slope of a line containing the points (2,9) and (3,12)?4. What is the slope of a line containing the points (2,- 4) and (3, 10)?5. The following table shows the number of pages Adriano read in x hours. Find the slope of the line that is the graph of the relation and write what does (2,100) represent.Time(h) 1 2 3 4Numberof pages 50 100 150 200Slope:(2,100) represents: Which region of Oklahoma is home to the state's highest point, Black Mesa?a. the Arbuckle Mountainsb. the Sandstone hillsC. the Wichita Mountainsd. the High PlainsPlease select the best answer from the choices providedABCDO what is the main idea of paragraph 3 Letter from Birmingham Jail reorder the sentence please im desperate Which of the following list of sides would make a right triangle? Which answer choice do I pick? Which of the following is NOT a power that the Constitution gives the Vice President?Presides over the Senate.Assumes the role of President if he/she is unable to hold office.Casts the deciding vote if the Senate is deadlocked with a tie.Determine if a law passed by Congress is unconstitutional. Help! What is the the correct number for the product of this particular reaction? please help will give brainliest 6.The perimeter of a rectangle whose length is 7.5cm and breadth 3.75cm A 220-inch pipe is cut into two pieces. One piece is four times the length of the other. Find the length of the shorter piece.The shorter piece isinches long Need HELPOf the items listed, what is something that could be used to help tell the history of an area?rock layersanimal habitatshuman settlementsplant life Can anyone list 2 things about Sylvia Mendez's childhood? And a problem she faced.It would be greatly appreciated.Also if you can list, how she solved her problem she faced & please list two accomplishments. 60 POINTS IF YOU CAN ANSWER ALL! Explain the relationship between American Indians and European fur trading companies. Which Progressive Era Amendment mandated the direct election of senators?h At the store Brand A potato chips were $32.48 for 7 bags. Brand B potato chips were $9.30 for 2 bags. What are the unit prices for each brand? Which brand has the cheaper unit price?