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
TRUE OR FALSE !!!!
NeX [460]

Answer:

True

Explanation:

4 0
4 years ago
Read 2 more answers
¿Cuál es el objetivo principal de los servicios?
sleet_krkn [62]
Ayudar a las personas que los contratan
8 0
3 years ago
To close the ____ view, click File on the Ribbon or click the preview of the document in the Info gallery to return to the docum
nordsb [41]
Your answer would be D,
7 0
4 years ago
The tuning systems were not always reliable during the Baroque period. Why did composers use key signatures?
lapo4ka [179]

Key signatures were used because simply by knowing how many sharps or flats there were, the tuning would be more uniform. Tuning systems were not developed yet during the Baroque era and the concept of key was not introduced by then.

<span> </span>

7 0
4 years ago
The following loop is intended to print the numbers 1, 2, 3, 4, 5.
balu736 [363]

Answer:

range

Explanation:

range(num1, num2) returns the numbers from num1 up to but not including num2.

Example: range(1, 4) will return the numbers 1, 2, 3.

Hope this helps :)

8 0
3 years ago
Other questions:
  • Which of the following best describes cost-benefit analysis?
    9·1 answer
  • Which process is used to protect transmitted data in a vpn?
    12·1 answer
  • What is a swap file? how does the computer use this file? what information might be found there?
    6·1 answer
  • What may happen if a large number of computer users are attempting to access a web page
    12·1 answer
  • Help! ASAP! 1 Question.........°○°​
    11·1 answer
  • Is anyone a robIox moderator?
    13·2 answers
  • Question 1 (1 point)
    5·2 answers
  • What is a web browser​
    9·1 answer
  • High-level languages must be translated into machine language before they can be executed. _________________________
    10·1 answer
  • In cell B20, enter a
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!