Advertisement
Guest User

Untitled

a guest
Feb 10th, 2016
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. #!/usr/bin/python3.4
  2.  
  3. class Word:
  4. s = ""
  5. t = ""
  6.  
  7. def __init__(self, s, t):
  8. self.s = s
  9. self.t = t
  10.  
  11. def canConcat(self):
  12. ww = self.t
  13. for a in self.s:
  14. contain = False
  15. for c in self.t:
  16.  
  17.  
  18.  
  19. print ww
  20.  
  21.  
  22. mode = raw_input().strip()
  23.  
  24. w = mode.split(" ")
  25.  
  26. x = Word(w[0], w[1])
  27.  
  28. x.canConcat()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement