You defined a class and saved it as shoe.py.
Which line of code will allow you to use the class in another program?
from shoeClass import *
O import shoe from
O from shoe import
O import shoeClass from

Please hurry

Answers

Answer 1

Answer:

Import shoeClass from

Explanation:

Answer 2

You defined a class and saved it as a shoe. The line of code that allows you to see the class in another program is import shoeClass from. The correct option is d.

What is programming?

A form of computer programming language known as procedural programming describes a number of well-planned actions and processes during the course of its development.

It includes statements, functions, and commands that are organized systematically to finish a computing task or program. Its main focus is on developing procedures.

While object-oriented programming is a type of programming where the emphasis is on creating objects as opposed to actions and data or logic. Its four guiding principles are encapsulation, abstraction, polymorphism, and inheritance.

Therefore, the correct option is d. import shoeClass from.

To learn more about programming, refer to the link:

https://brainly.com/question/14368396

#SPJ5


Related Questions

what is electro magnetism

Answers

Answer:

Electromagnetism is a branch of physics involving the study of the electromagnetic force, a type of physical interaction that occurs between electrically charged particles

Explanation:

Answer:

malay ko di ko alam sagot dyan eh kaya isip ka rin ghourl

Jason has decided to use his name on all the images to protect them from misuse. He has also decided to use the logo of his company across all
the images to be extra sure about its protection in the digital world. Select the phrases or sentences that describe the two types of watermarking
options has he used to get the results.
Types of Watermarking Options
Jason wants to tag his name or logo somewhere on the image, preferably in the corner of the photo. He uses an online editing tool to add his
name at the corner of the image. He can prevent misuse of his Images online by adding a watermark over the image. Text watermarking
involves adding the imageer's name at the corner of the image. This is usually done with the help of online editing tools or software. In this form
of watermarking, he can use the logo of his company over the image to protect his identity.
Just to be sure, Jason also uses tiled watermarking, which involves placing his company logo in a pattern spread across the image. First, he
creates a copy of the original. This is to make sure that the watermarked version is saved separately. If needed, he can always access the
original image. Then he opens the logo that he wants to use as the watermark, coples It, and pastes it onto a new layer, above the image. He
turns down the opacity of the layered image. Then he merges the layer to join the watermark with the image.
L

Answers

Answer:

Text watermarking involves adding the photographer's name at the corner of the image.

Explanation:

This was one of the correct answers when I took the test, I got it wrong because I didn't pick all the correct answers. I hope that this was helpful to you! If you know the other correct answer(s) please comment and let me know and i'll edit this answer! :)

Answer:

Text watermarking involves adding the imageer’s name at the corner of the image

tiled watermarking, which involves placing his company logo in a pattern spread across the image

Explanation:

on edmentum

Which of the following is considered proper ergonomics?
Elevating keyboard, so wrists are bent when typing
Placing the mouse close to the keyboard
Resting wrists on the desk while typing
Working on a computer while sitting in a recliner

Answers

Answer:

The First One

Explanation:

because ergonomics is trying to make the person who is using the device be in a more natural position. Raising the keyboard will make the typer feel more comfortable.

Elevating keyboard, so wrists are bent when typing of the following is considered proper ergonomics. Thus, option (a) is correct.

What is ergonomics?

Human factors ergonomics, as it is known in North America, is an area of research that seeks to learn understanding people intelligence and constraints and then utilize this knowledge to improve people's interactions with things, systems, and surroundings.

Raising the keypad and bending the wrists when typing, according to ergonomics, are employed to place the person using the computer in a more favored role. Moving the keyboard relaxes the typer. Wrist supports are commonly seen on keyboards and keyboard trays to help keep your wrists in a normal, virtually straight position.

As a result, the elevating keyboard, so wrists are bent when typing of the following is considered proper ergonomics. Therefore, option (a) is correct.

Learn more about on ergonomics, here:

https://brainly.com/question/6246159

#SPJ5

Logical are functions used when looking for an entry or value in the spreadsheet. what is it?

Answers

The Logical function would allow you to use the spreadsheets to identify whether a scenario is True/False.  It can choose among two options depending on the outcomes of that test, and the further discussion can be defined as follows:

These selections could be used to show information, do complex calculations, or run additional tests.It offers decision-making tools for spreadsheet information. It allows to let you examine the contents of a cell or do a computation, and afterward compare the output to a specified number or value.

Learn more:

brainly.com/question/8953037

Which design perspective best describes memory and storage requirements?

Data modeling
IT infrastructure
Prototype
The system model

Answers

Data modeling is perspective best s

In our situation now a days in online class we are experiencing different problems such as internet
problems like internet connection low quality gadgets technical problems using laptops and computers set up as an ict student how can you solve these common learning problems based on the knowledge you gained in computer hardware servicing

Answers

Swsss23232322222-32322

Makayla is cre iting a brochure for her computer consulting company. She designed the layout and placed a banner containing the
company name in the center of the page. Being unsatisfied with the effect, she has decided to move the text box containing the name
to the top of the page. In 3-5 sentences, describe the procedure Makayla will use to move the banner.

Answers

The procedure depends on the software and methods she uses.

In photoshop or InDesign she might need to fdrag and drop the title to the new location.

In Word/Publisher she has to cut and paste the title to the new location or to drag the box to the top.

In addition to supporting free pre-K programs for all children, what else can business owners do to help the community to educate children? (Select all that apply.)


A. support fire, police, and hospitals that serve the community

B. participate in mentoring programs

C. vote against tax increases that fund programs for kids

D. support after-school community centers

Answers

Answer:

The correct option is;

B. Participate in mentoring programs

Explanation:

A mentoring program is a program that allows people that have experience, knowledge, skill, and competence within a particular field such that they have the capacity to influence change in others, and are referred to as the mentors, to connect with people that want to acquire the same knowledge, skillset, know how and competence the mentors have so as to go further in their education, occupation or acquisition of skill.

WILL GIVE BRAINLIEST!! 20 PNTS!!

A tree that shows how a webpage is laid out is called a-

A. Family Tree Document.

B. Diagram Object Model.

C. Document Object Model.

D. Document Graphic.

Answers

Answer:

B :)

Explanation:

.........

Hello! Thank you for asking this question on Brainly!

Your question is:

“A tree that shows how a webpage is laid out is called a-

A. Family Tree Document.

B. Diagram Object Model.

C. Document Object Model.

D. Document Graphic.”

The answer to your question would be B. Diagram Object Model.

According to Visual Paradigm, “An object diagram is a UML structural diagram that shows the instances of the classifiers in models. Object diagrams use notation that is similar to that used in class diagrams. Class diagrams show the actual classifiers and their relationships in a system.”

Have a great day!

<3

Tenim tres resistors en sèrie, calcula la tensió que hi haurà a cadascuna d'elles sabent que una d'elles és de 680 Ω i les altres són de 220 Ω. El generador té una tensió de 12V.

Answers

Resposta:

Per a càrrega de 680Ω: 7,27 volts

Per a les dues càrregues de 220Ω: 2,36 volts cadascuna

Explicació:

Segons la llei d’ohms

E = IRt

E és la força electromotriu = 12V

I és el corrent total que circula al circuit

Rt és la resistència equivalent total

Com que els 680Ω, 220Ω i 220Ω estan en sèrie;

Rt = 680 + 220 + 220

Rt = 1120Ω

Obteniu el corrent total del circuit:

Recordem que: E = IRt

I = E / Rt

I = 12/1120

I = 0,0107A

Tingueu en compte que el mateix corrent flueix a través de resistències connectades en sèrie, però tensions diferents.

Obteniu les tensions individuals;

Per a càrrega de 680Ω;

V = IR

V = 0,0107 * 680

V = 7,27 Volts

Per a la càrrega de 220Ω

V = IR

V = 220 (0,0107)

V = 2,36 volts

Per tant, les tensions de les dues càrregues de 220Ω seran de 2,36 volts cadascuna

Alexandra wants to create a math game in which users have to correctly answer mathematical problems. She wants the game to solve a randomly created problem and then indicate if the player's answers are correct or incorrect. How is Alexandra getting the program to solve mathematical problems?

Answers

Answer:

The way Alexandra will get the program to solve mathematical problems is for her to write an algorithm, so that the computers can follow  series of step-by-step instructions to get the equation solved

Explanation:

From the question, we are informed about Alexandra who  wants to create a math game in which users have to correctly answer mathematical problems. She wants the game to solve a randomly created problem and then indicate if the player's answers are correct or incorrect. In this case the way Alexandra will get the program to solve mathematical problems is for her to write an algorithm, so that the computers can follow  series of step-by-step instructions to get the equation solved. An algorithm  in computer is often created as function, it can be regarded as a step-by-step instructions that are put in place to carry out specific task. This can range from simple process to complex operation, simple operation such as addition or multiplication of numbers and complex operation that involves playing of video file that is compressed.

Prebuilt colors from a document are called

Answers

Answer:

Theme

Explanation:

Theme. a pre-built set of unified formatting choices including colors, fonts, and effects. Format. to change the appearance of text. Font.

Which option best describes MacHack 6?

A.
It was a text-based adventure game.
B.
It was a graphical adventure game.
C.
It was a shooter game.
D.
It was an interactive chess program.
E.
It was a puzzle game t

Answers

Answer:

D. It was an interactive chess program.

Answer:it d

Explanation:

What is a product of respiration

Answers

Answer:

carbon dioxide and water

Explanation:

How many passes will it take to find the five in this list? 1, 5, 10, 15, 20, 22, 30 edgenutiy 2020​

Answers

Answer:

1

Explanation:

Answer:

The answer is 2

Explanation:

edge 2020

3.
An open path has these, but a closed path does not.
a. endpoints
b. terminators
c. segments
d. anchor points

Answers

A endpoints is the correct t answer

Mary is a student that's always been helpful to other students and plays her part when group assignment is given and ensures that the group work is complete. Mary display good __________ skills.

Answers

Explanation:

..................are there no options?

Teamwork skills I would guess

I just downloaded this song and if any one wants to listen to it then go ahead and do that. It’s called Trap Music 2018 âa bass boosted trap mix.

Answers

Answer:

ok

Explanation:

Explain what iteration is and why we need it in code

Answers

Answer:

Explanation:

When a cycle of instructions is carried out in a repeated manner, it is called a loop. It is the replication of a process in a computer program, commonly executed with the use of loops. Iteration is essential as it lets a programmer streamline a design by declaring that definite steps will be repeated.

_________________ is the logical operator if either conditions is True, then the whole statement is TRUE.

a.)OR
b.)Object-Oriented Programming
c.)Procedures
d.)Functions

Answers

Answer:

Assuming your using the language python, The 'or' operator

Explanation:

To explain this further, or is used in python to describe another condition whether the first one was true or false. Here is a list of what they all briefly mean:

Object-Oriented Programming allows you to create objects with specific characteristics. Ex. you could have a dog class that describes a dogs name and breed. You can make an instance and call it Max with its breed being a golden retriever etc.

----------------------------------------------------------------------------------------------------------------

Procedures independant code that just has simple instructions

----------------------------------------------------------------------------------------------------------------

Functions like object oriented programing but instead of having attributes it is a block of code that does an action. In python, unless the function is called, however, it won't do anything

----------------------------------------------------------------------------------------------------------------

'or' allows someone to give another condition whether the other conditions were True or False.

hope this helped :D

how to get to meters to kilometer

Answers

Answer:

The length in kilometers is equal to the meters divided by 1,000.

Explanation:

The length in kilometers is equal to the meters divided by 1,000.

Just divide it by 100

9.2 Code Practice: Question 2
Edit your solution from the previous array height problem by adding additional code that increases the value of the element at (0,2) by a value of 3, and then reprints the array

Expected Output
[[16, 17, 14], [17, 18, 17], [15, 17, 14]]]
[[16, 17, 17], [17, 18, 17], [15, 17, 14]]]

Answers

Answer:

height = []

height.append ([16, 17, 14])

height.append ([17, 18, 17])

height.append ([15, 17, 14])

print(height)

height[0][2] = height[0][2] + 3

print (height)

Explanation:

hope this helps!

The height problem is a sequential program and does not require loops, iteration and conditions.

The additional code segment  that adds 3 to the element at (0,2) is:

height[0][2] = height[0][2] + 3

To reprint the array, we make use of the following print statement:

print (height)

So, the complete program is as follows:

height = []

height.append ([16, 17, 14])

height.append ([17, 18, 17])

height.append ([15, 17, 14])

print(height)

height[0][2] = height[0][2] + 3

print (height)

Read more about sequential programs at:

https://brainly.com/question/13893632

Describe the scope of the variables in this code.

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

class petCarrier:
size = 'medium'
color = 'red'

The scope of petName ______.

The scope of color is ______.

Accessible to the entire program
limited to the petCarrier class
limited to the pet class


(both of the blanks need one of those answers)

Answers

The scope of petName is local to the class pet.

The scope of color is accessible by all parts of the program.

How to interpret programming variables?

The variable petName is local to the class; This isdue to the fact that the variable was created in a function whose name begins with two underscores.

The variable color; This is created in the petCarrier class and is accessible to the entire function. This was not created in a function whose name begins with an underscore.

Read more about programming variables at; https://brainly.com/question/9238988

#SPJ2

Answer:

The scope of petName limited to the pet class

The scope of color is accessible to the entire program

Explanation:

edge

1.
PART A: Which of the follovling best identifies the author's claim in the text?
A Hopper was often underestimated because of her gender and unable to
contribute her ideas and insights.
Without the influence of Hopper, it is unlikely that women would be allowed to
work in the field of computer science today.
C. Hopper's contributions helped develop computers and expand the presence of
female programmers in computer science.
D. While Hopper was successful with technology, she struggled to connect with
other people.

Answers

A. Since it tells about how people think she’s lesser because she’s a women.

Answer:

C.  Hopper's contributions helped develop computers and expand the presence of female programmers in computer science.

Explanation:

    The answer would be C, as all throughout the article, Slavin gives numerous examples of ways Hopper had contributed to the development of computers. She was a technologist in the Navy, working on machines such as Mark I, Mark II, and Mark III, a marketer, a teacher at Harvard, a politician, and a great business lady. Overall, with everything said in the article, answer C fits the best, as it covers the main idea of the article itself.

A material systems developer typically combines the skills of a programmer with the multitasking expectations of a
.

Answers

Explanation:

Material systems developer typically combines the skills of a programmer with the multitasking expectations of developing 3 dimensional models of objects, enhancing the graphical effects.

don't delete my answer this time i try to help ppl

What is the average rate of change of h(x)=2^{x+1}h(x)=2 x+1 h, (, x, ), equals, 2, start superscript, x, plus, 1, end superscript over the interval [2,4][2,4]open bracket, 2, comma, 4, close bracket?

Answers

Answer:

Average Rate = 12

Explanation:

Given

h(x) = 2^(x + 1)

Interval = [2,4]

Required

Determine the average rate of change

The average rate of change of h(x) is calculated using.

Average Rate = (h(b) - h(a))/(b - a)

Where

[a,b] = [2,4]

Meaning a = 2 and b = 4

So, the formula becomes:

Average Rate = (h(4) - h(2))/(4 - 2)

Average Rate = (h(4) - h(2))/2

Average Rate = ½(h(4) - h(2))

Calculating h(4)

h(4) = 2^(4+1)

h(4) = 2⁵

h(4) = 32

Calculating h(2)

h(2) = 2^(2+1)

h(2) = 2³

h(2) = 8

So, we have:

Average Rate = ½(h(4) - h(2))

Average Rate = ½(32 - 8)

Average Rate = ½ * 24

Average Rate = 12

Hence, the average rate of change is 12

plzzzz help!!!


Drag the tiles to the appropriate buckets.
Which functions do each of the following perform?

Answers

Answer:

Record:

"Contains information related to a specific person or other entity"

Report:

"Is generated by running a query"

"Can be in the form of a table or a graph"

Querie:

"Is used to retreieve information from a database"

"Can contain filters"

"Appears horizontally in a table"

Explanation:

THE ONES THAT I UNDERLINED ARE THE ONES IM UNSURE ABOUT

Answer:

Record -

Contains information related  to a specific person or  other entity

Appears horizontally in a table

Report -

Is generated by running  a query

Can be in the form of a table  or a graph

Querie -

Is used to retrieve information  from a database

Can contain filters

Explanation:

I got it right on the Edmentum test.

Why is cyberbullying so devastating to many people beyond just the victim?

Answers

Answer: If the situation goes undetected, it can lead to serious situations, self-harm, and damaged relationships. According to Superintendent Alex Geordan, some common long-term effects of cyberbullying include depression, low self-esteem, unhealthy addictions, trust issues, and poor mental health.

Selena made a diagram to compare and contrast transmitters and receivers.

A Venn diagram of two ovals. The left oval is labeled Transmitters. The right oval is labeled Receivers. There is an X inside the overlap.

Which label belongs in the area marked X?

Amplifies radio waves
Demodulates radio waves
Sends out radio waves
Captures radio waves

Answers

Answer:

A. Amplifies radio waves

Explanation:

e2021

Answer:

its A on ED

Explanation:

Which statement best describes the pros and cons of lack of regulation for cloud-based technology? Lack of regulation enables people to collaborate without the extra cost of paying a service provider; however, there is an increased opportunity for cybercrime. Lack of regulation speeds up the process of invention, but requires individuals to back up their own data. Lack of regulation encourages open innovation, but is not always secure. Lack of regulation encourages greater collaboration, but can lead to increased cost from price increases.

Answers

Answer:

3.) Lack of regulation encourages open innovation, but is not always secure.

Explanation:

Got it right in Introduction to Careers in Arts, A/V Technology and Communications

Other Questions
Ellena knows that 1/5 written as a decimal is 0.2. How can Ellema use this information to find the decimal equivalent for 9/5 without doing 9 divided by 5? Bianca is shopping around town in order to purchase a computer that is regularly priced at $800. Use the details below to mark each statement as true or false. HELP ME NOWWWWW!!!!!!!!! HURRY WILL MARK YOU BRAINLIEST RIGHT ANSWER ONLY Which of the following mountain ranges is labeled with the number 1 on the map above?A.the PyreneesB.the ApenninesC.the UralsD.the Alps Characteristics of Logos how to fix the israel-palestine conflict. I NEED THIS NOW What is the slope-intercept equation of the line that goes through the points (3,5) and (-1,13) Can u help me fix this sentence ''his favorite poem is stuarts worst nightmare'' Which statement is true about the graphs of the two lines y=-x+2 and y=-x- ?O The lines are perpendicular to each other because - and - are opposite reciprocals of each other.The lines are perpendicular to each other because 2 and - 1 are opposite reciprocals of each other.O The lines are neither parallel nor perpendicular to each other because - and are not opposite reciprocalsof each other.The lines are neither parallel nor perpendicular to each other because 2 and - 3 are not opposite reciprocals ofeach other. The Federal Work-Study Program is a:A. Grant provided to students working in university labs B. Financial aid program that pays for students employment C. Scholarship provided to students who pursue teaching degreesD. Financial-aid program eligible to first generation students What is metallurgy? (10pionts) a the study of how to domesticate animals b the science that studies how metals work c a Hindu sacred ritual for cleansing the body d the belief that natural objects have supernatural beings in them Pls I need answer quick, pls Chemicals and proteins in the cell read the DNA ___________ for building that make cells, tissue and organs. (A.Instructions (B.Genes(C.Recipe(D. Life manual why are there different types of matter. I need help please !!!!! PLEASE HELP ME IM TIMED Find the value of x666x - 4(6 + 5g) equivalent expressions Select two ratios that are equivalent to what are ratios are equivalent to 2:9 Greg buys 2 puzzles from a garage sale. Each puzzle costs $4. Which graphcould show the coordinates of the point that represents the number of puzzthat Greg buys and the total cost?