def animalcracker(s):
 for u,v in enumerate(s):
     if v==" ":
         if s[0]==s[u+1]:
          print("true")
         else:
          print("false")
          
    
    
    
animalcracker("hello hello")    