Mars Exploration

  • + 0 comments

    #python3

    def marsExploration(s):`
        `# Write your code here```
        a=len(s)//3
        real="SOS"*a
        c=0
        b=list(zip(real,s))
        for i in b:
            if i[0]!=i[1]:
                c+=1
        return