Answer:
I think your error is in the line with the input statement asking for a number between 1-10. Input statements always take the input as a string, but on the next line you are trying to do an if statement with an integer. So you will have to cast the input from the input statement as an int. Below I have rewritten that line. Let me know if it worked!
notr = int(input("Select a number from 1-10 " )
I really need help with this question IN PYTHON! I don't know why I am producing no output!
The program first creates a Word object with the input word and character. Then, it opens the text file associated with the word and adds the synonyms to the Word object.
How to explain the informationimport os
class Word:
def __init__(self, word, character):
self.word = word
self.character = character
self.synonyms = []
self.message = "No synonyms for {} begin with {}".format(word, character)
self.filename = word + ".txt"
self.count = 0
def add_synonym(self, synonym):
if synonym[0] == self.character:
self.synonyms.append(synonym)
self.count += 1
def print_synonyms(self):
for synonym in self.synonyms:
print(synonym)
def main():
word = input("Enter a word: ")
character = input("Enter a letter: ")
word_object = Word(word, character)
with open(word_object.filename, "r") as f:
for line in f:
synonym = line.strip()
word_object.add_synonym(synonym)
if word_object.count == 0:
print(word_object.message)
else:
print_synonyms(word_object)
if __name__ == "__main__":
main()
Learn more about program on
https://brainly.com/question/26642771
#SPJ1
Describe the impact of a company’s culture on its success in a customer-focused business environment. Discuss why each is important.
The influence of a corporation's culture cannot be underestimated when it comes to achieving success in a customer-centric commercial landscape.
The values, beliefs, norms, and behaviors that constitute a company's culture have a major impact on how its employees engage with customers and prioritize their requirements.
Having a customer-centric mindset means cultivating a culture that places a strong emphasis on satisfying and prioritizing customers' needs and desires, resulting in employees who are aware of the critical role customer satisfaction plays in ensuring success.
Learn more about company’s culture from
https://brainly.com/question/16049983
#SPJ1
b) Use method from the JOptionPane class to request values from the user to initialize the instance variables of Election objects and assign these objects to the array. The array must be filled.
The example of the Java code for the Election class based on the above UML diagram is given in the image attached.
What is the Java code about?Within the TestElection class, one can instantiate an array of Election objects. The size of the array is determined by the user via JOptionPane. showInputDialog()
Next, one need to or can utilize a loop to repeatedly obtain the candidate name and number of votes from the user using JOptionPane. showInputDialog() For each iteration, one generate a new Election instance and assign it to the array.
Learn more about Java code from
https://brainly.com/question/18554491
#SPJ1
See text below
Question 2
Below is a Unified Modelling Language (UML) diagram of an election class. Election
-candidate: String
-num Votes: int
<<constructor>> + Election ()
<<constructor>> + Election (nm: String, nVotes: int)
+setCandidate( nm : String)
+setNum Votes(): int
+toString(): String
Using your knowledge of classes, arrays, and array list, write the Java code for the UML above in NetBeans.
[7 marks]
Write the Java code for the main method in a class called TestElection to do the following:
a) Declare an array to store objects of the class defined by the UML above. Use a method from the JOptionPane class to request the length of the array from the user.
[3 marks] b) Use a method from the JOptionPane class to request values from the user to initialize the instance variables of Election objects and assign these objects to the array. The array must be filled.
Corrine is writing a program to design t-shirts. Which of the following correctly sets an attribute for fabric? (3 points)
self+fabric = fabric
self(fabric):
self = fabric()
self.fabric = fabric
The correct option to set an attribute for fabric in the program would be: self.fabric = fabric
What is the programIn programming, defining an attribute involves assigning a value to a particular feature or property of an object. Corrine is developing a t-shirt design application and intends to assign a characteristic to the t-shirt material.
The term "self" pertains to the specific object (i. e the t-shirt) which Corrine is currently handling, as indicated in the given statement. The data stored in the variable "fabric" represents the type of material used for the t-shirt.
Learn more about program from
https://brainly.com/question/26134656
#SPJ1
which app is best for coding in pc
My choice of the best app for coding on a PC are
Visual Studio CodeJetBrains IntelliJ IDEAWhat is the application?Choosing the best program for coding on a computer depends on what you like and the computer language you're working with. These are some computer programs that many people use for writing code on a PC: code editors and integrated development environments (IDEs).
Visual Studio Code is a type of computer software that lets people edit code. It was made by Microsoft and many people like to use it because it can do many things. It can work with many different ways of writing code and you can change it a lot to suit your needs.
Read more about application here:
https://brainly.com/question/24264599
#SPJ1
wite a short essay recalling two instance, personal and academic, of when you used a word processing software specifically MS Word for personal use and academic work
I often use MS Word for personal and academic work. Its features improved productivity. One use of MS Word was to create a professional resume. MS Word offered formatting choices for my resume, like font styles, sizes, and colors, that I could personalize.
What is MS WordThe software's tools ensured error-free and polished work. Using MS Word, I made a standout resume. In school, I often used MS Word for assignments and research papers.
Software formatting aided adherence to academic guidelines. Inserting tables, images, and citations improved my academic work's presentation and clarity. MS Word's track changes feature was invaluable for collaborative work and feedback from professors.
Learn more about MS Word from
https://brainly.com/question/20659068
#SPJ1
Write an interactive Java Program named HollowRightAngled Triangle.java which uses the JOptionPane class for input. The program should ask you to input a character of your choice, as well as the height/Depth of the Triangle. The character can be any character, e.g., a star, an integer, a letter of the alphabet, a $ sign, etc. When the character has been entered by the user, the program should echo using the System.out.println() output scheme, the words, "You have Entered The Character, according to the character entered. After that, the program should ask you to enter a depth/height. Once the height/depth has been entered, the pogram should then draw/output a right-angled triangle made of the chosen character .
Here is a Java program to draw a hollow right angled triangle:
import javax.swing.JOptionPane;
public class HollowRightAngledTriangle {
public static void main(String[] args){
String character = JOptionPane.showInputDialog(null, "Enter a character: ");
System.out.println("You have entered the character " + character);
String height = JOptionPane.showInputDialog(null, "Enter height: ");
int h = Integer.parseInt(height);
for (int i = 1; i <= h; i++) {
for (int j = 1; j <= i; j++) {
if (j == 1 || i == h || i == j){
System.out.print(character);
}
else {
System.out.print(" ");
}
}
System.out.println();
}
}
How it works:
We use JOptionPane to promt the user for input.We store the character in the String character.We store the height in the String height and parse it to an int.We use two nested for loops.The outer loop iterates over the height.The inner loop iterates over i , the current height.We print the character if j (the inner loop counter) is 1 (first element in row)or if i is equal to h (last row) or if i equals j (last element in row).Otherwise we print a space.After the inner loop, we go to the next line.How does the habit win-win, along with the concepts of inclusivity and diversity help to grow an organization and help you increase your growth mindset
Answer: The key to success is to believe. Will power is everything.
Explanation: Most of the time, a person reaches his mental capacity before his physical limit. Therefore, it is important to train the mind and develop a growth mindset and in a way, always be "hungry and unsatisfied." To be cold turkey, you have to feel uncomfortable in what you are doing. If you are comfortable in your sphere, you are not learning or growing.
Draw raw a program Flowchart that will be use to solve the value ofx im a quadratic equation +(x) = ax²tbxtc.
A program Flowchart that will be use to solve the value of x in a quadratic equation f(x) = ax²+bx+c.
Sure! Here's a basic flowchart to solve the value of x in a quadratic equation:
```Start
|
v
Input values of a, b, and c
|
v
Calculate discriminant (D) = b² - 4ac
|
v
If D < 0, No real solutions
|
v
If D = 0, x = -b / (2a)
|
v
If D > 0,
|
v
Calculate x1 = (-b + √D) / (2a)
|
v
Calculate x2 = (-b - √D) / (2a)
|
v
Output x1 and x2 as solutions
|
v
Stop
```In this flowchart, the program starts by taking input values of the coefficients a, b, and c. Then, it calculates the discriminant (D) using the formula D = b² - 4ac.
Next, it checks the value of the discriminant:
- If D is less than 0, it means there are no real solutions to the quadratic equation.
- If D is equal to 0, it means there is a single real solution, which can be calculated using the formula x = -b / (2a).
- If D is greater than 0, it means there are two distinct real solutions. The program calculates both solutions using the quadratic formula: x1 = (-b + √D) / (2a) and x2 = (-b - √D) / (2a).
Finally, the program outputs the solutions x1 and x2 as the result.
For more such questions on Flowchart,click on
https://brainly.com/question/6532130
#SPJ8
The Probable question may be:
Draw a program Flowchart that will be use to solve the value of x in a quadratic equation f(x) = ax²+bx+c.
How can I interact with the sandbox? (Select all that apply)
SFTP
SMTP
IMAP
SSH
Webterminal
What is the purpose of the Captains Log? (Select all that apply)
To apply for a job
To increase your network
To reflect on your learning journey
To flag issues if any
To let the team know how you are doing
The purpose of the Captain's Log is to "To let the team know how you are doing" (OPtion E)
The purpose of the Captains log.The purpose of a daily log is to keep a record of dailyactivities, tasks, events, or thoughts.
It serves as a tool for personal organization,time management, and accountability.
It can also aid in tracking progress, identifying patterns, and facilitating reflection on accomplishments,challenges, and areas for improvement on a day-to-day basis.
Learn more about Log at:
https://brainly.com/question/28546142
#SPJ1
Answer: To reflect on your learning journey, To flag issues if any and To let the team know how you are doing.
Explanation:
It allows your team to know how you are doing based on the feedback that you put there. It is essential to fill in accurate information to help increase a positive experience for you and your team.
what is an organization and why do organizations need and require information
An organization is a business venture that has the profit of rendering services or promoting some goods to people.
Why do organizations need and require information?Organizations need and require more information because they need these to market their goods to the right audience and also make more profit.
Different forms of data are picked up by organizations and analyzed by data analysts to make projections that would benefit the growth of the company.
Learn more about organizations here:
https://brainly.com/question/19334871
#SPJ1
what are the codes to draw a stickfigure in python
Answer: The answer is in the attached document
Most operating system have GUI as part of the system, which is the following best describes an operating system GUI
A Graphical User Interface (GUI) is the component of an operating system that allows users to communicate with the system using graphical elements. GUIs are generally used to give end-users an efficient and intuitive way to interact with a computer.
They provide an easy-to-use interface that allows users to manipulate various objects on the screen with the use of a mouse, keyboard, or other input device.The primary function of an operating system GUI is to make it easier for users to interact with the system.
This is done by providing visual feedback and a simple way to access various system functions. GUIs can be customized to suit the user's preferences, which means that they can be tailored to meet the specific needs of different users.Some of the key features of a GUI include the use of windows, icons, menus, and buttons.
Windows are used to display information and applications, while icons are used to represent various objects or applications on the screen. Menus and buttons are used to provide users with a way to access various system functions, such as saving a file or printing a document.
The use of a GUI has become a standard feature of most operating systems. This is because GUIs make it easier for users to interact with computers, and they provide an efficient and intuitive way to access various system functions.
For more such questions on Graphical User Interface, click on:
https://brainly.com/question/28901718
#SPJ8
Please help to answer this, I need to see the most genius of computer out here
The sign "####" is used as a temporary name or hidden element in different situations.
When someone writes "#1 REF. ", they are probably referring to a certain book or article.
The word "NAME. " is written after "iii," which means someone wants to know a name or what to call something.
What are the symbolsWe use "####" a lot in programming or data entry to show something that needs to be filled in or figured out . For instance, you can use it to show a number that you don't know, to represent a code or name that's missing, or to show that certain information is hidden or private.
The number "#1" is like an ID given to a source. "REF" means "reference" and shows that the following information is about that source.
The name text means that someone might be asking for a name, or asking about how names are chosen or used.
Read more about symbols here:
https://brainly.com/question/29886201
#SPJ1
b) Briefly explain what do the following symbols/letters stand for?
1) ####
#1) REF!
iii) NAME?
n the context of automation, what is a robot?
Answer:
Explanation:
A non human
Mention at least two organizations IN Ethiopia whose role has been replaced/ threatened by Information System.
Organizations in Ethiopia whose role has been replaced/ threatened by Information System are:
1. Ethiopian Postal Service
2. Traditional Travel Agencies
3. Traditional Brick-and-Mortar Retailers
Organizations in Ethiopia whose role has been replaced/ threatened by Information SystemOrganizations in Ethiopia whose role has been replaced/ threatened by Information System are:
1. Ethiopian Postal Service: The Ethiopian Postal Service, responsible for handling mail delivery and related services, has faced significant challenges due to the rise of information systems, particularly email and electronic communication.
2. Traditional Travel Agencies: The emergence of information systems, particularly online travel booking platforms and comparison websites, has disrupted the traditional role of travel agencies in Ethiopia.
3. Traditional Brick-and-Mortar Retailers: The rise of e-commerce and online shopping platforms in Ethiopia has posed a threat to traditional brick-and-mortar retailers.
Learn more about information system on:
https://brainly.com/question/14688347
#SPJ1
1. Computer 1 on network B, with IP address of 192.168.1.233,
computer 2, which ip address of 10.1.1.205. On which network is computer 2
Computer2 with an IP address of 10.1.1.205 is on network A.
How is this so?The IP address falls within the range of the network A subnet, indicating that it belongs to that network. In contrast, computer 1with an IP address of 192.168.1.233 is on network B.
The IP address falls within the range of the network B subnet, establishing its network affiliation.
Therefore,computer 2 is on network A while computer 1 is on network B.
Note that IP addresses are essential for identifying and locating devices on a network, enabling communication and data transfer.
Learn more about network at:
https://brainly.com/question/1326000
#SPJ1
Full Question:
Although part of your question is missing, you might be referring to this full question:
Computer 1 on network B with a ip address of 192.168.1.233 computer 2 ip address is 10.1.1.205 . What network is computer 2 on?
Solve the Jumbled Words. 1. RENTIENT: 2. ODEMM: 3. EGOGLO: 4. PKINHERYL: 5.PETNRAA: 6.NGOISUT: 7.NXOIB: 8. PYREL: 9. ACHAPTC: 10. RDOPSASW:
The Jumbled Words are:
RENTIENT: INTERNETODEMM: MODEMEGOGLO: G.OO.GLEPKINHERYL: HINKLEY PARKPETNRAA: PANTHERANGOISUT: OUTINGSNXOIB: BOXINPYREL: REPLYACHAPTC: CHAPATIRDOPSASW: PASSWORDWhat are the wordsINTERNET refers to a worldwide network of computers, which people use to talk and share information.
A modem helps computers send information through phone or cable lines.
G.o.o.gle is a well-known search engine and tech company on the internet.
Read more about Jumbled Words here:
https://brainly.com/question/18255840
#SPJ1
What happens when I close the web terminal window/tab
The process will stop running
Nothing
The process will remain running in the background
I will be notified that I still have running processes
When you close the web terminal window or tab, a)the process will stop running.
A web terminal session allows you to remotely access a server or computer and execute commands or run programs within that environment.
However, the terminal session is typically tied to the specific browser window or tab that it is running in.
Closing the window or tab typically leads to the termination of the terminal session, and consequently, any processes running within it.
The termination of the processes upon closing the web terminal window is the default behavior.
It is important to note that some terminal applications or server configurations may provide options to keep processes running even after the terminal session is closed.
For example, you can use tools like nohup, screen, or tmux to detach processes from the terminal session, allowing them to continue running even if the session is closed.
Unless you have specifically configured such persistence measures, closing the web terminal window will result in the termination of the associated processes.
This means that any tasks, scripts, or programs running within the terminal session will be halted.
For more questions on terminal
https://brainly.com/question/32911907
#SPJ8
Write a java program to implement the following algorithms for Open Addressing techniques for
Hash Table data structure. (Use a simple array of integers to store integer key values only).
For both algorithms, to compute the index , write the following methods:
• getLinearProbIndex (key, i)
• getQuadraticProbIndex (key, i)
• getDoubleHash (key, i)
Linear Probing index is computed using following hash function:
ℎ(, ) = (ℎ1() + )
ℎ1() =
Quadratic probing index is computed using following hash function:
ℎ(, ) = (ℎ1() + 2)
ℎ1() =
Double hashing index is computed using following hash function:
ℎ(, ) = (ℎ1() + ℎ2())
ℎ1() =
ℎ2() = 1 + ( − 1)
To implement the given algorithms for Open Addressing techniques for Hash Table data structure in Java using an array of integers, follow the steps given below:
Step 1: Create a class named Open Addressing Technique and define all the necessary methods. Step 2: Define three methods named getLinearProbIndex(), get Quadratic ProbIndex(), and get Double Hash() for computing the index for the given keys. The code for the methods is given below:public static int getLinearProbIndex(int key, int i) { return (key + i) % ARRAY_SIZE; }public static int getQuadratic ProbIndex(int key, int i) { return (key + i * i) % ARRAY_SIZE; }public static int get DoubleHash(int key, int i) { return (key + i * (1 + (key % (ARRAY_SIZE - 1)))) % ARRAY_SIZE; }
Step 3: Implement the Linear Probing algorithm using the get Linear ProbIndex() method. The code is given below:public static int linearProbing(int key, int[] hashArray) { int index = getLinearProbIndex(key, 0); while (hashArray[index] != -1) { index = getLinearProbIndex(key, index + 1); } return index; }
Step 4: Implement the Quadratic Probing algorithm using the getQuadraticProbIndex() method. The code is given below:public static int quadraticProbing(int key, int[] hashArray) { int index = getQuadraticProbIndex(key, 0); while (hashArray[index] != -1) { index = get Quadratic ProbIndex(key, index + 1); } return index; }
Step 5: Implement the Double Hashing algorithm using the getDoubleHash() method. The code is given below:public static int doubleHashing(int key, int[] hashArray) { int index = getDoubleHash(key, 0); while (hashArray[index] != -1) { index = getDoubleHash(key, index + 1); } return index; }Here, the hashArray is the array of integers in which we store the integer key values. The size of the array is defined as ARRAY_SIZE.
For more such questions algorithms,Click on
https://brainly.com/question/13902805
#SPJ8
I don't know how to fix this, but it needs me to do something to install a game.
If you encounter an error message stating that the feature you're trying to use is unavailable while installing the game,it may be related to the missing or corrupted Microsoft Visual C++ redistributable package.
How is this so ?To resolve this issue, you can try installing the Microsoft Visual C++ 2015-2022 Redistributable (x64)- 14.36.32532 manually.
Visit the official Microsoft website,download the package, and follow the installation instructions provided to fix the issue and successfully install the game.
Learn more about Microsoft Visual C++ at:
https://brainly.com/question/30743358
#SPJ1
QUESTION 3
If you click on the Outline View option under the View section of the ribbon, you can easily edit your slides:
True
False
Can you think of ways to use social engineering in order to make people less likely to do things that would spread viruses
Ways to use social engineering to make people less likely to do things that would spread viruses are:
1. Education and Awareness Campaigns
2. Social Norms and Peer Influence
3. Authority Figures and Trusted Sources
4. Gamification and Incentives
5. Positive Reinforcement and Social Recognition
Ways to use social engineering in order to make people less likely to do things that would spread virusesBelow are the ways to use social engineering to make people less likely to do things that would spread viruses:
1. Education and Awareness Campaigns: Develop targeted educational campaigns that use persuasive messaging to inform people about the risks associated with virus transmission and the importance of preventive measures.
2. Social Norms and Peer Influence: Leverage the power of social norms and peer influence to encourage positive behaviors.
3. Authority Figures and Trusted Sources: Utilize authoritative figures, experts, and trusted sources to convey messages about virus prevention.
4. Gamification and Incentives: Incorporate gamification elements and incentives to motivate individuals to adopt preventive behaviors.
5. Positive Reinforcement and Social Recognition: Implement systems that provide positive reinforcement and social recognition for individuals who consistently practice virus prevention measures.
Learn more about social engineering on:
https://brainly.com/question/26072214
#SPJ1
what causes the computer to heat up
The most common reason for an overheating computer is dust buildup on the fans or air vents. Reduce the heat inside the computer to improve the system performance and prevent any damage to the internal components.
in the context of automation, what is a robot?
Which printing process is represented in this scenario? A newsroom is preparing a copy of a daily paper. Typed articles are hung throughout the room. Editors are reading through each article, cutting out pieces and taping new text over old text.
- phototypesetting
- linotype
- movable type
- relief printing
Identify whether each of the following goals would be a short-term or long-term goal for a high school senior who will graduate in a few months.
Earning a college degree is a
goal. Studying for an English quiz that is scheduled in one week is a
goal. Aiming to have three years of work experience in the IT field after graduating from high school is a
goal. Turning in a college application that is due in one month is a
goal.
Earning a college degree and Aiming to have three years of work experience in the IT field after graduating from high school are long-term goals.Studying for an English quiz scheduled in one week and Turning in a college application that is due in one month are short-term goals.
A. Earning a college degree is a long-term goal. This goal typically takes several years to achieve, as it involves completing a bachelor's degree program, which typically spans four years.
It requires consistent effort, coursework, and successful completion of all required credits and exams.
B. Studying for an English quiz scheduled in one week is a short-term goal. This goal is focused on a specific task that needs to be accomplished within a short timeframe.
The student can allocate their time and energy to prepare for the quiz, review relevant materials, and practice specific skills or concepts.
C. Aiming to have three years of work experience in the IT field after graduating from high school is a long-term goal. This goal requires planning, skill development, and securing employment opportunities in the IT field over a period of three years.
It involves gaining practical experience, building a professional network, and potentially pursuing certifications or additional training.
D. Turning in a college application that is due in one month is a short-term goal. The student needs to complete the necessary application materials, gather recommendation letters, write essays, and submit the application by the given deadline.
While this goal has a specific deadline, it is focused on a singular task that can be accomplished within a relatively short period.
For more such questions on goals,click on
https://brainly.com/question/19994925
#SPJ8
CS Academy Unit 8.3.2 Rainbow Ripples
Based on the given code snippet, the Python script program defining a class and some functions related to drawing ripples is given.
How to depict the programripples = Group()
def drawRipples():
ripples.clear()
# Draw ripples from the middle of the canvas to the edges.
# The distance between ripples is determined by app.rippleSpace
# CHINT: The radius of the smallest circle should determine where you start the for loop.
# 200 should be the end value.
for radius in range(0, 200, app.rippleSpace):
# CHINT: Add each circle you draw to the ripples group.
circle = Circle(app.width/2, app.height/2, radius)
ripples.add(circle)
# Place Your Code Here N
drawRipples()
def onKeyHold(keys):
if 'Cup' in keys:
app.rippleSpace += 2
elif 'down' in keys and app.rippleSpace > 2:
app.rippleSpace -= 2
drawRipples()
Learn more about program on
https://brainly.com/question/26642771
#SPJ1
Select all the correct answers.
Why do nations practice protectionism?
to prevent loss of jobs and livelihoods
to improve relations with other nations
to encourage growth of new industries
to give consumers more choices
to retaliate against unfair trade practice
Nations practice protectionism to prevent loss of jobs and livelihoods,to encourage growth of new industries and to retaliate against unfair trade practice.The correct answers to the given question are options A, C, and E.
Nations practice protectionism for various reasons, and the correct answers are A, C, and E. It is important to note that protectionism can have both positive and negative effects, and the reasons for implementing protectionist measures may vary depending on the specific circumstances and goals of a country.
A. To prevent loss of jobs and livelihoods: Protectionism aims to shield domestic industries from competition with foreign producers. By imposing tariffs, quotas, or other trade barriers, countries can protect their domestic industries and workforce from being overwhelmed by cheaper imports.
This helps to preserve jobs and maintain the economic well-being of workers.
C. To encourage growth of new industries: Protectionism can be used as a strategic tool to foster the growth of emerging industries within a country.
By implementing trade barriers, governments can provide a nurturing environment for domestic industries, allowing them to establish themselves and compete with foreign companies on a level playing field. This can lead to the development of new technologies, increased innovation, and economic diversification.
E. To retaliate against unfair trade practices: Protectionism can be a response to unfair trade practices, such as dumping (selling products below cost) or subsidizing industries in other countries.
By imposing tariffs or other measures, nations can retaliate and protect their domestic industries from unfair competition, aiming to ensure fair trade practices are upheld.
B. To improve relations with other nations: This statement is incorrect. Protectionism is often seen as a barrier to international trade and can strain diplomatic relations between countries.
The primary objective of protectionist policies is to prioritize domestic interests over international relationships.
D. To give consumers more choices: This statement is also incorrect. Protectionism limits competition from foreign goods, which can reduce consumer choice by restricting the variety and availability of imported products.
In conclusion, nations practice protectionism to prevent job losses, foster the growth of new industries, and retaliate against unfair trade practices. However, it is important to weigh the potential benefits against the drawbacks of protectionism, as it can impact international relations and limit consumer choice.
For more such questions on protectionism,click on
https://brainly.com/question/14751757
#SPJ8
The Probable question may be:
Select all the correct answers.
Why do nations practice protectionism?
A. to prevent loss of jobs and livelihoods
B.to improve relations with other nations
c. to encourage growth of new industries
D. to give consumers more choices
E. to retaliate against unfair trade practice