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
A group of eight bits is called a _______. a. numeric data b. byte c. megabit d. binary
RideAnS [48]
The answer is B: byte
8 0
3 years ago
Joe is examining the logs for his web server and discovers that a user sent input to a web application that contained the string
alexira [117]
SQL Injection Attack
6 0
3 years ago
Why is the statement if x=y not working in python
Veronika [31]

Answer:

x=1

Explanation:

Re-run your installer (e.g. in Downloads, python-3.8. 4.exe) and Select "Modify". Check all the optional features you want (likely no changes), then click [Next]. Check [x] "Add Python to environment variables", and [Install]

8 0
2 years ago
Identify the use of queue in the process of spooling output to a printer.
sashaice [31]

The queue makes sure the printer prints each sheet of paper in order.

6 0
4 years ago
--------------communication involves one speaker andaudience.
dalvyx [7]

Answer:

Person-to-Group

Explanation:

Person-to-Group communication involves one speaker and audience.

6 0
4 years ago
Other questions:
  • Write a program that asks for a password and then verifies that it meets the stated criteria. • If the password meets the criter
    13·1 answer
  • The search text that you type is called your _____.
    11·1 answer
  • No processo fluido a fluido há outra câmara na saída do material extrudado com pressão menor que a câmara anterior. Isso permite
    8·1 answer
  • Questions
    15·1 answer
  • Discuss why it is common for XML to be used in interchanging data over the Internet. What are the advantages of using XML in dat
    7·1 answer
  • Compressing a file is also called
    9·2 answers
  • What does the following if statement do?<br><br> if (num1 == Math.abs(num1))
    12·1 answer
  • Olivia wants to change some settings in Outlook. What are the steps she will use to get to that function? open Outlook → File →
    7·2 answers
  • What is added to brining liquid to add flavour​
    6·1 answer
  • Help ASAP
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!