1. Engineering
  2. Computer Science
  3. 1a here will be at least one occurrence ne mar...

Question: 1a here will be at least one occurrence ne mar...

Question details

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 lineI 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
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution