Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python3.4
- class Word:
- s = ""
- t = ""
- def __init__(self, s, t):
- self.s = s
- self.t = t
- def canConcat(self):
- ww = self.t
- for a in self.s:
- contain = False
- for c in self.t:
- print ww
- mode = raw_input().strip()
- w = mode.split(" ")
- x = Word(w[0], w[1])
- x.canConcat()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement