Question: 1a here will be at least one occurrence ne mar, er, 15 # line of text. Put the answer in the variable 'replaced'. 16 #

 1a here will be at least one occurrence ne mar, er,

1a here will be at least one occurrence ne mar, er, 15 # line of text. Put the answer in the variable 'replaced'. 16 # Hint: You can find out the length of a string by command # len(string). We might test your code with different markers! 18 19 # Example 1 20 marker "AFK" 21 replacement "away from keyboard" 24 # Example 2-uncomment this to test with different input 27 "line,"The eruption ofthe volcano EY n 2010 disrupted air travel in Europe for 6 days." 22 line"I will now go to sleep and be AFK until lunch time tomorrow." 23 25 #marker.. "EY" 26 #replacement-"Eyjafjallajokull" 28 29 ### 3e # YOUR CODE BELOW, DO NOT DELETE THIS LINE 31 ### 32 33 replaced-line(0:27]+"be"-replacement[ line[33:] 34 35 print replaced 36. # Example 1 output should be: 37 #>>> I will now go to sleep and be away from keyboard until lunch time tomorrow. 38. # Example 2 output should be: 39 ">> The eruption of the volcano Eyjafjallajokull in 2010 disrupted air travel in Europe for 6 days our submission did not return the correct result for the input:Your submission passed 0 out of 3 test cases

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!