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
nydimaria [60]
3 years ago
6

In your guessing game, you replaced dashes in blanks when the user guessed a correct letter by using a string slice. Which line

of code will replace the character with an index of n with the guessed letter?
blanks = blanks(n) + letter + blanks(n+1)
blanks = blanks[:n] + letter + blanks[n+1:]
blanks = blanks(:n) + letter + blanks(n+1:)
blanks = blanks[n] + letter + blanks[n + ]
Computers and Technology
1 answer:
professor190 [17]3 years ago
6 0

Answer:

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

Explanation:

While I don't know what the different sections of this line of code does, I was able to find my answer by looking through the section of code below the videos and found this identical line. This is sometimes the best technique for finding answers to questions like this because it was rather hard to find otherwise. Hope this helps :)

You might be interested in
My mom hid my laptop and now I can't find it​
Svetach [21]

Answer: did you look everywhere ask for it and be like mom i wont do (whatever you did) ever again so please give me a chance can i plsss!!!!!! have it back?

Explanation:

simple as that step by step

3 0
3 years ago
Quantas calorias os adolescentes devem consumir diariamente?
Tema [17]

Answer: los niños requieren un promedio de 2.800 calorías por día, las niñas requieren un promedio de 2.200 calorías por día.

Explanation:

6 0
3 years ago
He made me so angry when he didn’t let me make my point that I had to stalk after him.
madam [21]

Answer:

21

Explanation:

because

4 0
3 years ago
Read 2 more answers
Write a program that prints the following 45 pairs of numbers:
sattari [20]

Answer:

  • Code is in JAVA language. As there is no user input the logic is straightforward.
  • Below is the code along with a detailed explanation of the logic.
  • The class name is Print main save as file as the main class.

Explanation:

Program:-

public class Main{

public static void main(String args[]){

/* There are two for loops...

* First for loop runs from i=1 to i=9

* Second for loop runs from j=1 to j=i.

*

*/

for(int i=1;i<=9;i++){

for(int j=1;j<=i;j++){ // j loop runs from j=1 to j=i

/*Prints I and j next to each other*/

System.out.println(i+""+j);

}//for loop of j ends here

}// for loop of I ends here

}

}

6 0
3 years ago
Which science topics would be suited for this organizational aid? Check all that apply.
IrinaVladis [17]

Answer:

Its A and E

Explanation:

3 0
3 years ago
Other questions:
  • Vpns create a _____________ to transport information through public communications media.
    8·1 answer
  • Can you give me a free neon legendary pet in Adopt Me on Roblox!!!​ my user is: IamNathan215
    15·2 answers
  • Respecting culture in the workplace means understanding that
    5·2 answers
  • PLZ HELP ME! What is a false statement about online time?
    9·1 answer
  • Enterprise Resource Planning (ERP) is an example of a single user database.
    7·1 answer
  • During which phase of the website transformation processwould the project team for developing perform content analysis, layout t
    13·1 answer
  • It is a SQL keyword that creates an autoincrementing field.
    5·1 answer
  • What does the statement that follows do? double gallons[6] = { 12.75, 14.87 }; a. It assigns the two values in the initializatio
    13·1 answer
  • I ONLY HAVE 5 MIN HELPPPPPP
    15·2 answers
  • What is cyber security ???​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!