Maria is writing a program to design t-shirts. Which of the following correctly retrieves the values for a t-shirt object's pattern?

newStyle.pattern
newStyle + pattern
newStyle = pattern
newStyle(Pattern):

Answers

Answer 1

Answer:

newStyle.pattern

Explanation:

example:

class Style:

    def __init__(self, pattern=""):

def design():

    newStyle = Style (this allows the user  to user newStyle to access all values in the class Style)

    now that you have this, you can call the pattern attribute

    newStyle.pattern

    you can also set this equal to a new value here but for the sake of this question your answer is newStyle.pattern

hope this made sense and helped you out! :)

   


Related Questions

What is a method that deletes an item from a list using the item’s value?
Remove
Delete
Erase
PopWhat is a method that deletes an item from a list using the item’s value?
Remove
Delete
Erase
Pop

Answers

Answer:

Remove

Explanation:

A method that deletes an item from a list using the item’s value is "Remove"

The "remove () function in python language indicates the specific element or character to be that needs to be removed.

For example

myList = ["Jane",16,34,52,"Lamar",13,27,20]

myList.remove(34)

myList

OUTPUT : ["Jane",16,52,"Lamar", 13,27,20]

Therefore, by printing the list using the print(), we can observe that the element 34 has been removed from myList.

Hence, the correct answer, in this case, is " Remove."

help plz its do today

Answers

Answer:

It is a good idea to consider supply and demand when considering your future career. This will give us an idea of how easy or difficult it is to enter the area and make a living from it.

Explanation:

Which of the following is not a key component of a structure?
A. Name
B. Properties
C. Functions
D. Enumerations

Answers

D. Enumerations! Because I know that is NOT a leg compentent of a structure

Help! Will add the brainliest.

Which of the following is a tip for getting a good pet photograph?

A. Always stand when taking the picture to keep the pet away from the camera.
B. Show the pet's personality.
C. Avoid having others with you.
D. All of the above

Answers

Answer:

Show the pet's personality

Explanation:

You want to get to know an animal when you look at their photo. If they are smiling then that will show how happy they are! Also, A is incorrect because sometimes you want to be on the same level as your animal. So crouch down and take that close up! And C is wrong because sometimes it is helpful for someone else to be there.

Using the information below, answer the question to the right. Which function should you use to extract shipping values from the Lookup Table?

Answers

Answer: HLookup

Explanation:

HLookup is a function in Microsoft Excel that is part of the Lookup functions, that is, it is used to lookup a value from another table or cell so that it reflects in the desired table.

The “H” in the HLookup stands for Horizontal, that is Horizontal Lookup.

The HLookup function works by looking for a value in the top row of a table or array of values and returning the value in the same column from a row that is specified.

The function is;

=HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])

So, to extract our shipping value from the lookup table, we use the formula;

=HLOOKUP(C2,$B$11:$E$12,2)

What is digital scavenger hunting? A. An application that locates addresses B. A scavenger hunt where players use GPS and digital cameras C. A game like Marco Polo on the Internet D. A way of tracking criminals using GPS​

Answers

Answer:

C. A game like Marco Polo on the Internet

Explanation:

A digital scavenger hunt is a name for a scavenger hunt game originally made for mobile phones and works on any operating system or mobile platforms such as Android or iOS.

The game comprises of different missions in which players are expected to complete one after the other.

Hence, in this case, the correct answer is "A game like Marco Polo on the Internet."

14 points, what is an IP v4 packet??

Answers

Answer:

Internet Protocol version 4 (IPv4)

Explanation:

is the fourth version of the Internet Protocol (IP). It is one of the core protocols of standards-based internetworking methods in the Internet and other packet-switched networks. IPv4 was the first version deployed for production on SATNET in 1982 and on the ARPANET in January 1983.

Answer:

Internet Protocol version 4 (IPv4) is the fourth version of the Internet Protocol (IP). It is one of the core protocols of standards-based internetworking methods in the Internet and other packet-switched networks. IPv4 was the first version deployed for production on SATNET in 1982 and on the ARPANET in January 1983.

Explanation:

What are the five generations of computers?​

Answers

Answer:

First Generation, Second Generation, Third Generation, Fourth Generation, Fifth Generation

Explanation:

First Generation- Vacuum Tubes

Second Generation- Transistors

Third Generation- Integrated Circuits

Fourth Generation- Microprocessors

Fifth Generation- Artificial Intelligence

A(n) ________ is a chart based on PivotTable data.
(Microsoft Excel)

A. Slicer

B. PivotChart

C. Filter

D. Sort

Answers

Well since it’s a chart based on a PivotTable prettyyyy sure it’s gonna be a PibltChart

youre content and design should be influenced by the _______ of your users

a. age
b. goals
c. mood
d. attitude

i already know the answer 90%
im just making sure

Answers

b. im pretty sure lol.
B because it’s make more sense

After you create a pie chart, you can move it to its own chart sheet.
True or False.

(Microsoft Excel)

Answers

Answer:

I think it's either true or false

Explanation:


What is the default view in a Word document? (5 points)
Copy View
Editing View
Paste View
Reading View

Answers

Answer:

EDITING VIEW

Explanation:

Although Microsoft word has several different ways you can view or edit your documents.
The Default View is Editing View.

Hurry I’m timed

What is one purpose of an algorithm?

to reduce error
to show how to use a computer
to eliminate step-by-step instructions
to eliminate smaller tasks

Answers

A to reduce error...........

Answer:

an algorithm completes step by step tasks

Explanation:

the last option could work too but step-by-step is more accurate to what an algorithm is.

Choose the type of collection described.

A ___ uses square brackets. You use append to add to the collection.
A ___ uses curly brackets. You use update to add to the collection.
A ____ uses parentheses. You cannot change it once you create it.

Answer choices for all three:
•List
•Tuple
•Dictionary

Answers

Answer:

1) List

2) Dictionary

3) Tuple

Explanation:

A list uses square brackets. It is used to store multiple items in just one variable. They are usually changeable and give room for duplicates. You use append to add to the collection.

A dictionary uses curly brackets. You use update to add to the collection. A dictionary is created by placing the elements in curly brackets and separating them with a comma. It is changeable and it does not give room for duplicates.

A tuple uses parentheses. You cannot change it once you create it. It is an ordered list of elements that is finite and can also store multiple items in one variable.

You manage a network that uses a single switch. All ports within your building connect through the single switch. In the lobby of your building are three RJ45 ports connected to the switch. You want to allow visitors to plug into these ports to gain internet access, but they should not have access to any other devices on your private network. Employees connected throughout the rest of your building should have both private and internet access. Which feature should you implement

Answers

Answer:

VLANs

Explanation:

Virtual LANs (VLANs) are a type of network connection or arrangement of network devices in the same broadcast domain. They are called Virtual LANs because they represent fractions or subgroups in the switch ports found in an Ethernet LAN.

Indeed, because of their topological arrangement, this reduces the security risk of unauthorized access to sensitive data or devices since the host can be placed on a different VLAN. Hence, in this scenario, using this network feature would allow visitors to plug into these ports to gain internet access, but they would not have access to any other devices on the private network.

what is the goal of keyboardding technique

Answers

Answer:

to get faster at typing

Explanation:

In a single paragraph, write about the connections between web servers and web pages. Select and differentiate between their various characteristics and how they work together.

Edge please don't copy paste, 20 points

Answers

Answer:

web servers hold all the info that the website has on it, most servers hold multiple websites

Explanation:

Answer:

web servers hold all the info that the website has on it, most servers hold multiple websites

Explanation:

Create a function called biggestNum that returns the largest number in an array of integers. The function is passed only one parameter, an array. In main, ask the user the input eight integers. Each integer should be added to an array called nums. Then, call the function and output the largest number in the array.

Answers

This is for Python

def biggestNum():

   array = []

   for i in range(8):

       number = int(input('Enter number: '))

       array.append(number)

   

   return max(array)

print(biggestNum())

What classes should I take in high-school for majoring in computer science?

Answers

Answer:

Computer science are the disciplines that study information, computing and the applications or ecosystems where they are developed. It is a science that comes from applied mathematics and has 3 branches that are quite well known. On the one hand we have software engineering, secondly theory as such (primary study of algorithms and data, etc.) and finally the application of the amalgam of the first two, which end up resulting in disciplines such as big data, cybersecurity or computer security, machine learning, artificial intelligence, etc. However, we are talking about a very broad science with various branches of work. Technological advances that have improved the scope of education, now allow us to develop in specific skills and computer science is one of the macro careers that have benefited the most thanks to the diversity of subjects it encompasses. This is where the on-demand courses available on the edX platform come in. Computer scientists are in one of the best times for their career advancement. We invite you to be part of the technological development and information and computing technologies through online courses.

Explanation:

HOW DO YOU RUN YOUR SCRATCH PROGRAM?

Answers

Answer:

By clicking on the green flag, it starts up the program and if you want to stop it use the stop sign.

To run your scratch program you have to click the green flag, and it will run your program.

Hope that helps.

write a qbasic program to design any simple software with output ​

Answers

Answer:

CLS

PRINT "Hello World"

Explanation:

A generic question with a generic answer.

Write IF() function for student 3, If total mark is greater than 10 then print
the text “you have scored good" else print“ you need to improve" *

Answers

Answer:

Explanation:

The following code is written in Java. The if() function is actually called an if statement. The following code can be copied and pasted where you need as long as it is within the scope of the mark variable in order to call it and compare it to 10

if (mark > 10){

           System.out.println("you have scored good");  

       } else {

           System.out.println("you need to improve ");

       }

Chapter
2
SAFETY GUIDELINES
OBJECTIVES
1. Which of the following is a safety device?
(a) dashboard (b) steering wheel (c) seat
(d) seatbelt​

Answers

Answer:

Seatbelt

Explanation:

The seatbelt allows everyone in the car to remain safe and steady going at certain high miles per hour. None of the other options were made for safety only. Please name brainliest!!!

The____
mode is generally used when delivering a presentation to an audience.

Slide
Auto
Default
Window.

Answers

Answer:

Default

Explanation:

The four modes of delivery— memorized, impromptu, manuscript, and extemporaneous—are all valuable in group presentations. However, the most common mode of delivery is extemporaneous.

Default would be the correct answer.

Choose the correct line of code.

To overload exponentiation, use

•def_power__(self, b):
•def_power_(self, a, b):
•def_pow_(self, b):
•def_pow_(self, a, b);

Answers

Def_pow_(self,b): if not then I’m sorry

Answer: def_pow_(self,b)

Explanation: got it right on edgen

WHAT DOES THE SCRATCH CODE BELOW DO?

Answers

Answer:

the first one

Explanation:

Line charts are best used for

Answers

Answer:

the answer is a

Explanation:

........

Answer:

A, presenting data that changes as a function of time.

______________________________________________

*rate this answer and say thanks please!

What can help you take better animal photographs?

Use a lower ISO.
Focus on the animal's nose.
Be ready to catch the shot.
All of the above

Answers

Answer:

All of the above

Explanation:

i think i may be wrong.

Answer:

be ready to take the shot

Explanation:

what is web technology?​

Answers

Answer:

Web technology refers to the means by which computers communicate with each other using markup languages and multimedia packages. It gives us a way to interact with hosted information, like websites.

Answer:

Web technology are the various tools and techniques that are utilized in the process of communication between different types of devices over the internet.

3. What is the value of a 4-band resistor which has the first band - Green, the
second band - Blue, the third band- orange, the fourth band - Gold?
A. 56K + 10% B. 56K + 5%
C. 5.6K + 5%
D. 56K + 2%​

Answers

Answer:

56000 with a tolerance of 5%

Explanation:

5 6 + 3 zeros

3 is orange so that means you add 3 zeros when the orange band is present in the third position.

Green is 5

Blue is 6

Gold in the 4th band is the % tolerance. Gold is a 5% tolerance which mean that the real value is 5% either side of 56000/

The answer is B

Other Questions
gina sees a rectangular quilt with an area of 3,528 square inches.The length of the quilt is 72 inches. what is the width of the quilt PLSS HELPP(DONT GIVE ME LINKS LIKE cutlink.ml/0tj3C OR I WILL REPORT)Read the passage. Nineteenth-century houses were typically heated with anthracite( a hard, rocklike, fossil fuel). This natural resource, which many people simply called hard coal, was also used as fuel for trains and machines during the Industrial Revolution.Which term in the passage is defined by the phrase in parentheses?O anthracite O fossil fuelO rocklikeO natural resource All candidates in Louisiana agreed to lower taxes, new highways, home rule for New Orleans, raises for state employees, state control of oil resources, and segregation in the 1952 gubernatorial race. Question 2 options: True False The information that follows pertains to Esther Food Products: At December 31, 2018, temporary differences were associated with the following future taxable (deductible) amounts: Depreciation $ 70,000 Prepaid expenses 30,000 Warranty expenses (12,000 ) b. No temporary differences existed at the beginning of 2018. c. Pretax accounting income was $115,000 and taxable income was $27,000 for the year ended December 31, 2018. d. The tax rate is 45%. Required: Complete the following table given below and prepare the appropriate journal entry to record income taxes for 2018. x Tax Rate = Tax $ Recorded as: Pretax accounting income $ 112,000 Permanent differences x =Income subject to taxation x =Temporary Differences x =Income taxable in current year x =Record 2021 income tax By what year did the area around 140th Street and 7th Avenue become populated primarily by African Americans? I dont get this can someone help me? in how many ways can a supermarket chain select 3 out of 12 possible sites for construction of a new supermarket? Find the value of x. Round to the nearest tenth. 9 4 x = [?] are the triangles below similar? yes or no? What factors can affect the supply of a product other than price? Which are the best strategies for staying motivated when working toward an academic goal? Check all that apply. Look at mistakes as learning opportunities.* Do not allow frustration to enter your mind. Make the work personally meaningful.* Make as few mistakes as possible. Find the joy in learning. the directors want to give R500 000 to a local school.Give Two reasons why companies take such decision. Johnny and his father go fishing at 5:00 AM. After motoring 6 km upstream, Johnny writes a letter to his friend, puts the letter in a bottle, and drops it into the river. The bottle floats in the current and reaches at 7:40 AM the point where Johnny and his father began their trip. If the speed of the boat in still water is 9 km/h, what is the speed of the river current? A box with a base that had an area of 144 square inches. The box measured 9 inches high. What is the volume of the box? this is due in 15 minutes pls help me lol thx express the product in the simplest form7/4 x 12i will mark u brainly and give u more points Analyze three major causes of the French Revolution. Be sure to explain at least one long-term cause and one short-term cause in your answer. Which of the following transitions should be added to the beginning of sentence 6 to best enhance the organization of the paragraph? O A. Consequently, O O O O B. However, O C. Regardless, D. Firstly, 2/3x=-20 A -60 B -30 C -10 D 10 1. The function f(x) = -0.05(x2 - 26x - 120) represents the path coming out of the cannon. If x is the horizontal distance from the cannon, what does f(x) represent? (1 point)