subject

Given a string, an integer position, and a character, all on separate lines, find the character of the string in that position and replace it with the character read. Then, output the result. Ex: If the input is:

warn

0

e

the output is:

earn

Note: Using a pre-defined string function, the solution can be just one line of code.​


Given a string, an integer position, and a character, all on separate lines, find the character of

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 01:30
Could you find out how im still getting an 83 percent on this in edhesive a = input("enter an animal: ") s = input ("enter a sound: ") e = "e-i-e-i-o" print ("old macdonald had a farm, " + e) print ("and on his farm he had a " + a + "," + e) print ("with a " + s + "-" + s + " here and a " + s + "-" + s + " there") print ("here a " + s+ " there a " + s) print ("everywhere a " + s + "-" + s ) print ("old macdonald had a farm, " + e)
Answers: 2
question
Computers and Technology, 25.06.2019 08:00
Which of the following statements is true of an intranet? it is a network where a computer is connected to the internet and acts as a gateway for other devices.it is a widely available public network of interconnected computer networks.it is a network that covers a wide area with the of rented telecommunication lines.it is a network within an organization that uses internet protocols and technologies.
Answers: 3
question
Computers and Technology, 25.06.2019 08:20
The control unit takes ths instructions fetched by the preteched unit and translates them into a form that can be understood by
Answers: 1
question
Computers and Technology, 25.06.2019 13:00
Self -concept is influenced by the values instilled in a person by his or her self-concept. self-fulfilling prophecy. self-evaluation. culture.
Answers: 1
You know the right answer?
Given a string, an integer position, and a character, all on separate lines, find the character of t...
Questions
question
Mathematics, 30.09.2019 15:10
question
Mathematics, 30.09.2019 15:10
question
Mathematics, 30.09.2019 15:10
question
Mathematics, 30.09.2019 15:10
question
Physics, 30.09.2019 15:20
Questions on the website: 13722360