You are viewing a single comment's thread. Return to all 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 c
Mars Exploration
You are viewing a single comment's thread. Return to all 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 c