1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Radda [10]
3 years ago
7

__init__(self, features, phones): create/initialize instance variables for features and the list of phones (optional) in the pla

n. When phones is not provided, use an empty list as its initial value. Create an instance variable
Computers and Technology
1 answer:
vredina [299]3 years ago
8 0

Answer:

class Phone(object):

   def __init__(self, features, phones=[]):

       self.features = features

       self.phones = phones

Explanation:

In python object-oriented programming, an instance variable of a class object is created in the "__init__()" method. the "self" is a convention name used to represent the instance of an object class. The input values are assigned to the object variable with the self.'argument_name' statement.

When the phone argument is not given, the self.phones variable is initialized as an empty list.  

You might be interested in
Create a Word document or text file named Part3 that contains answers to the following:
Gnoma [55]

Answer:

11111

Explanation:

4 0
3 years ago
You can't cite Wikipedia, what are three ways that you can use it for your research?
Vlada [557]

Answer:

Scan over the article for references/resources, find general information about your topic, find keywords and terms you can use for further searching.

Explanation:

8 0
3 years ago
Pls help mark brainliest
kozerog [31]

Answer:

I cant answer this.

Explanation:

You need to take another screenshot so we can see the multiple choice.

4 0
3 years ago
One of the Visual Studio 2015 languages that can be used for rapid application development is C#. Another language that supports
Serga [27]

Answer:

Visual Basic is the appropriate answer for the following blank.

Explanation:

Visual Basic is a language based on real events of a third generation for the Module Object model coding model that was originally published and declared legacy in 2008.

  • In an easy to use graphical environment programmers can create a visual basic programming language for software interfaces and codes. VB is the collection of different components used with the help of the forms with specific characteristics and actions.
7 0
3 years ago
Brainly Question
elena55 [62]

Answer:

Yeah. You have to click the paper clip when your asking your question, then upload your GIF.

8 0
3 years ago
Read 2 more answers
Other questions:
  • A spreadsheet is a software program for storing, managing, and retrieving information. true or false?
    15·2 answers
  • What does "FDDI" stand for in Technology?
    5·2 answers
  • What are the advantages and disadvantages of solving a problem that can be broken down into repetitive tasks with recursion as o
    13·1 answer
  • Joining two or more objects in a publication is known as _____.
    6·1 answer
  • Type the correct answer in the box. Spell all words correctly. What allows users to make long-distance calls over the Internet?
    14·2 answers
  • The company currently runs 60 autonomous APs and has plans to increase wireless density by 50% in the near future
    13·1 answer
  • A company that manufactures machine parts orders a new system that makes products at ten times the speed of the earlier machine.
    6·2 answers
  • Write a program that inputs a time from the console. The time should be in the format "HH:MM AM" or "HH:MM PM". Hours may be one
    6·1 answer
  • What equipment allows a computer to connect to the internet.
    13·1 answer
  • Sftp uses which mechanism to provide security for authentication and data transfer?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!