Your program has a loop where a user guesses a letter.

Your program compares the guess to each letter in the word.

Finish the code.

for n in range(lenWord):
if _______ == letter:
blanks = blanks[:n] + letter + blanks[n+1:]


correct[n]


correct


correct(n)

Answers

Answer 1

Answer:

its correct[n]

Explanation:

Answer 2

for n in range(lenWord):

if correct[n] == letter:

blanks = blanks[:n] + letter + blanks[n+1:]

A loop in a computer program is an teaching that repeats until a specified condition is reached.

In a loop structure, the loop asks a question. If the answer needs action, it is executed. The same question is asked  again until no other action is required.

What are loops used for in programming?

A Loop is employed to repeat a specific block of code a over and over. There are two main types of loops, for loops and while loops.

What are the 3 types of loops in programming?

In Java, there are three kinds of loops which are – the for loop, the while loop, and the do-while loop. All these three loop constructs of Java executes a set of replicated statements as long as a specified condition stays true.

To learn more about A loop, refer

https://brainly.com/question/26568485

#SPJ2


Related Questions

Which of the following images illustrates safe driving?

Answers

Answer:

bottom left

Explanation:

Answer:

keep your eyes on the road!!!!

Why does a compiled-language program need more memory than an equivalent interpreted-language program during program execution
OA to store source code
O B. to store object code
Ос. to store machine code
D. to debug the program​

Answers

Answer:

The answer is B

Explanation:

Who has gotten a random file link from someone? What file does it contain?

Answers

Answer:

those are bots , just report those

Explanation:

I got it but I didn’t download it cuz it looks sketchy he literally posted that same link to everyone who has made a question so I would advise not to download it

What is the check digit for the following original product number: 140501941 ? *

a)10
b)7
c)5
d)2

Answers

Explanation:

I think it is 7, but I could be wrong..... sorry

You are working on a ticketing system. A ticket costs $10. The office is running a discount campaign: each group of 5 people is getting a discount, which is determined by the age of the youngest person in the group. You need to create a program that takes the ages of all 5 people as input and outputs the total price of the tickets. Sample input: 55 28 15 38 63 sample output: 42.5 the youngest age is 15, so the group gets a 15% discount from the total price, which is $50 - 15% = $42.5

Answers

Answer:

Explanation:

The following program is written in Java. It takes 5 inputs of int values for the ages of each member in the group. Then it loops through all of the ages and chooses the youngest age. Finally, it applies that age as a discount to the final price which would be $50, outputting the final discounted price. The output for the test case provided can be seen in the attached picture below in red.

import java.util.Scanner;

class Brainly

{

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       int[] person = new int[5];

       System.out.println("Enter age of individual 1: ");

       person[0] = in.nextInt();

       System.out.println("Enter age of individual 2: ");

       person[1] = in.nextInt();

       System.out.println("Enter age of individual 3: ");

       person[2] = in.nextInt();

       System.out.println("Enter age of individual 4: ");

       person[3] = in.nextInt();

       System.out.println("Enter age of individual 5: ");

       person[4] = in.nextInt();

       int youngest = person[0];

       for (int x = 0; x < person.length; x++) {

           if (person[x] < youngest) {

               youngest = person[x];

           }

       }

       double discount = 1 - (((double)youngest) / 100);

       double output = 50 * discount;

       System.out.println("Total Price: " + output + " the youngest is " + youngest);

   }

}

The cell is intersection of column and row. true or false

Answers

Answer:

True

Explanation:

where a row and column meet. Columns are identified by letters (A, B, C), while rows are identified by numbers (1, 2, 3). Each cell has its own name—or cell address—based on its column and row

~Hope this helps

Answer:

True

Explanation:

click on the _____button to move the selected text in the centre of the page (justify /centre)​

Answers

Answer:

centre

Explanation:

Which line of code converts 3 to 3.0?

int(3)

type(3)

float(3)

single(3)

Answers

Answer:

float

Explanation:

Examples of hardware that computes on a network can share are the operating system and the web browsers

Answers

Answer:

False.

Explanation:

The hardware component of a computer can be defined as the physical parts or peripherals that enables it to work properly. Some examples of hardware components are monitor, speaker, central processing unit, motherboard, hard-drive, joystick, mouse, keyboard, etc.

A software component of a computer comprises of software application or program that are used by the computer to manage or control software application, computer hardware and user processes. Some examples of software components are operating system, registry keys, antivirus, media player, word processor, etc.

In conclusion, the hardware components of a computer are the physical parts that can be seen and touched while the software components cannot be touched but rather are installed as a program.

Hence, examples of software but not hardware that computers on a network can share are the operating system and the web browsers

Need help:(!!!! I’ll mark brainliest if correct

Select the correct answer.
Which software development team member would make the most use of the tool, Load Runner?
A.
software engineer
OB.
programmer
OC.
business analyst
OD
tester

Answers

Answer:

software engineer is the answer

Explanation:

g

what's wrong with this python code i don't know what's wrong with both of them

Answers

Answer:

Keep it in the format

first one:

def swapping_stars():

   line_str = ""

   for line in range(6, 8):

       for char in range(0, 6):

           if line % 2 == char % 2:

               line_str = line_str + "*"

           else:

               line_str = line_str + "-"

           print(str(line_str))

swapping_stars()

second one:

if you want it to go:

23456

def print_numbers(list):

   for i in range(1, len(list)):

       print(str(list[i]))

num_list = [1, 2, 3, 4, 5, 6]

print_numbers(num_list)

if you want it to go

123456

def print_numbers(list):

   doneONE = False

   for i in range(1, len(list)):

       if not doneONE:

           print(str(list[i] - 1))

           doneONE = True

       print(str(list[i]))

num_list = [1, 2, 3, 4, 5, 6]

print_numbers(num_list)

Explanation:

Imagine you are the human resource director for a small video game company that employs around 20 coders, managers, artists, etc. You're in charge of writing the safety rules and regulations for the company. Provide at least four discrete rules you would implement

Answers

Answer: maybe not put cheats no secret or easter eggs or hard challenges im not sure

Explanation:

The four discrete rules one  would implement can be

Provide no confidential company information to anyone who is not an employee of the company.Acknowledge sources obtained from other people's games or anything else with a copyright claim.Avoid abusing your power by cheating or abusing the games to benefit yourself or your associates.Maintain a positive workplace culture and show the utmost respect to everyone to increase productivity.

What is a  manager?

A manager refers to a person who is responsible head of any project and helps in arranging the resources, checking the progress, and timely completion of it in order to achieve the vision and goal of the organization.

Preventing workplace diseases and injuries, as well as the suffering and financial burden they can bring on employees, their families, and employers are the fundamental objective of safety and health initiatives.

Learn more about managers, here:

brainly.com/question/29023210

#SPJ5

Stages of reverse engineering

Answers

Answer:

Capture Data, Refine the Model, and then Manufacture it.

Explanation:

the _____tool is used to move the selected text to the right of the page ( align text right. / Align text left)​

Answers

Answer:

align text right

Explanation:

You were recently hired by a small start-up company. The company is in a small office and has several remote employees. You have been asked to find a business service that would accommodate the current size of the company, but would also be able to scale as the company grows. The service needs to provide adequate storage, as well as additional computing power. Which cloud service model should you use

Answers

Answer:

Infrastructure as a Service (IaaS)

Explanation:

Infrastructure as a Service, are services based online that provide a client with required server infrastructures including networking services, storage services, virtual environment services, security, processing services based, and scaling by using high-level API's that redirects the low-level data of the underlying network on a leasing or rent arrangement, such that the operation and maintenance cost of the servers are taken care of by the service provider.

What form of infrastructure improved trade and communication among Roman cities?

aqueducts
canals
reservoirs
roads

Answers

Answer:

aqueducts

Explanation:

Answer:

c

Explanation:

Doug grew up on a large farm in southwest Wisconsin. As a college graduation gift, Doug’s father gave him several hundred acres of land to raise organic soybeans, grain, and corn. Doug works the fields by himself, negotiates deals with buyers, repairs equipment, and handles all the accounting and financial issues for the business, which is called The Natural Element.

Answers

Answer: Sole Proprietorship.

Explanation:

This question wants to know what type of business is described in the scenario.

In a Sole Proprietorship, the owner of the business is essentially the business itself. They control all aspects of the business from the operating activities to the financial activities of the firm. This is usually the first stage business type in an entrepreneurship.

The definition of a sole proprietorship above fits with what Doug does. Doug is the owner of the farming business and seems to be handling all aspects of it by himself. This would therefore make it a sole proprietorship.

How is the OR (||) logical operator used?
PLS HURRY

Answers

Answer:

The answer is below

Explanation:

A logical operator is a symbol or word used to connect two or more expressions such that the value of the compound expression produced depends only on that of the original expressions and on the meaning of the operator. Common logical operators include AND, OR, and NOT.

Lorann sends messages to Aiden that always go into Aiden’s Junk E-mail folder. Which process would best correct this problem so that Lorann’s messages no longer go into Aiden’s Junk E-mail folder?
A. adding Aiden to the Safe Senders list
B. adding Aiden to the Safe Recipients list
C. adding Lorann to the Safe Senders list
D. adding Lorann to the Safe Recipients list

Answers

C doing this for points

Answer:

b

Explanation:

A(n) ________ HTML tag is used to mark information about the page.

Metadata

Mead

img

Hyperlink

Answers

An Metadata HTML tag is used to mark information about the page.

What are HTML element?

An HTML element are known to be a kind of HTML document parts, one of plenty types of HTML nodes.

Note that an HTML document is made up of a tree of some specific HTML nodes, example is text nodes, and HTML elements, that are said to add semantics and formatting to some areas of document. And so, Metadata HTML tag is used to mark information about the page.

Learn more about HTML tag from

https://brainly.com/question/9069928

Answer: metadata

Explanation: got it right on edgen

(50 POINTS) A folder has been shared with other users and set to read-only. What does this mean for users?
Users can only read the name of the shared folder.
Users cannot add new folders or files.
Users can read and edit files.
Users can add new files but not new folders.

Answers

i believe it would be “users cannot add new folders or files” i think they can only read what’s in the folder.

Answer:

B

Explanation:

i really want to know the best way to deal as much heart as possible plz tell me

Answers

Answer:

Set aside time every day for doing something that feels positive, whether that’s journaling, meeting up with a close friend, or watching a show that makes you laugh. Scheduling in moments that bring you joy is vital for healing a broken heart. It’s important to talk about your feelings with others and not numb yourself out.

Explanation:

secgcdesxeeeddfsexdddffdf

Which of the following are causes of a run-time error. Choose all that apply.
A user enters a numeric value when a text value was expected.
A user enters text and numeric values.
A user enters a text value when a numeric value was expected.
A user enters a negative number when a positive number was expected.

Answers

Answer:

A C D

Explanation:

just did it

Answer:

A.  A user enters a numeric value when a text value was expected.  

C. A user enters a text value when a numeric value was expected.

D. A user enters a negative number when a positive number was expected.

Explanation:

what is computer assisted translation​

Answers

Answer:

the use of software to assist a human translator in the translation process.

Explanation:

I CANT DO SKIN MODS ON BRAWLHALLA RIGHT!!!! IM SO MADDDDDDDDDDD

Answers

I'm better then u in brawhlla

Irene is creating a wireframe of a website she is working on to show her client. In which phase of the development process is she?

A. planning

B. design

C. development

D. testing

Answers

Answer:

The Answer Is B: Design

Explanation:

I took the test on edmentum and it was correct your welcome m8 :)

subscribe to twomad or you are cringe for the rest of your life kid

Answers

Answer:

What if I don't want to?..........

In today's e - commerce world, 'Disintermediation' may only affect intermediaries who are not performing value added services to customers. Do you agree with this statement? Explain why?

Answers

Answer:

No

Explanation:

Although 'Disintermediation' does affect these intermediaries I believe it also affects those that 'are' providing valuable services. This is because many other factors come into play when deciding to reduce intermediaries. Sometimes when a company has various intermediaries, a single one can provide the same value as two, therefore, for the company, it is more valuable to reduce the number of intermediaries that they have and provide more resources to fewer intermediaries so that they perform better for less pay. This is one of a few reasons why it can affect any intermediary, not just the ones that do not provide value.

Select the correct answer from each drop-down menu.
Complete the following sentences.

_________ effort is an important and necessary factor for the success of any project. In software development projects,
_______team members carry out several tasks to ensure the quality of the process and the final product.

Options for the first box are: managers, A teams, an individuals

Options for the second box are:internal, specific, external

Answers

Answer:

First, A teams, Second ,Specific

Explanation:

How do we know if we can believe the things on the internet?

Answers

Answer:

you have to check for reliability

Explanation:

Answer:

you can't always believe the internet some stuff is false are bended

Explanation:

yea

Other Questions
Which expression is equivalent to 128? WHAT IS YOUR INVENTION AND HOW CAN HELP EITHER SOCIETY OR THE PLANET EARTH? What prevented the spread of Hinduism from India to China in ancient times? Santorino Company produces two models of a component, Model K-3 and Model P-4. The unit contribution margin for Model K-3 is $6; the unit contribution margin for Model P-4 is $14. Each model must spend time on a special machine. The firm owns two machines that together provide 4,000 hours of machine time per year. Model K-3 requires 15 minutes of machine time; Model P-4 requires 30 minutes of machine time. What is the amount of machine time for model P-4 in terms of percent of a machine hour? a. 50% b. 25% c. 30% d. 20% e. 10% In what way were the kingdoms of Ghana and Mali similar?A. Both kingdoms practiced their native religions instead ofconverting to IslaratingB. Both kingdoms grew wealthy from taxing and controlling traderoutes,C. Both kingdoms developed close relationships with the TangdynastyD. Both kingdoms converted to Christianity because of contact withtraders.SUBMIT Ms. Kastenberg spilled a bottle of paint outside in the sun. Over time, the paint dried. This is because:AThe paint reflected the energy from the lightBThe light was too strong for the paintThe sun removed energy from the paintDThe paint absorbed the energy from the light Deltamath Please help me Question 1 (9 points)Fill in the blank with the correct word. Not all words will be used.aller-retourfaire ma valiseplagesortietaxiune arrivefaire du shoppingvolfaire un sjourpaysstationprendre un bus1. Demain, je pars en vacanced. Je vais avec mon frre l'le Maurice, plage2. Nous allons pour l'aroport 7h, arive3. Mon frre veut prendre un4. J'ai envie de au march et dans les boutiques de Port-Louis.5. Le est a 10h.6. Nous avons besoin d'un passeport pour entrer dans le7. Il faut acheter un billet8. J'ai achet un nouveau maillot de ban pour aller la9. Maintenant, je vais Did I use this word correctly in the sentence?: white Americans are apathetic to how badly African Americans were treated during the Civil War. In circle D with m \angle CDE= 122mCDE=122 and CD=6CD=6 units, find the length of arc CE. Round to the nearest hundredth. 5. Cognates are words that do not have a translation in another language T or F .Please help with question 21 which of the following was a result of the desire to expand slavery from 1800 to 1850The Missouri compromisethe tariff of 1816The war of 1812The California gold rush Picture included-11 points-second time Use the distributive property to write an equivalent expression.10(2x + 8y - 6) How many atoms are In 2C2S3 I need help ill give brainliest NO LINKS PLEASE ANSWER ASAP! 20 POINTS! PLS HELPPP!!!!!Record players were common by....A. The early 1800sB. The late 1800sC. The early 1900s D. The late 1900s 30 points I WILL GIVE U BRAINLIEST AND THANKS AND 5 STARS please help this is very important this is a big part of my grade