diff --git a/Section_01/assignment_04.py b/Section_01/assignment_04.py index 956262e..7caa8c1 100644 --- a/Section_01/assignment_04.py +++ b/Section_01/assignment_04.py @@ -19,10 +19,14 @@ # Expected Result Printed: omputerTuck # Your code below: - - - - +lst =(word1,word2) +c=0 +result = '' +for x in lst: + w=x[:c]+x[c+1:]+' ' + result += w + c += 1 +print(result)