Problem in JAVA

a guest Aug 23rd, 2019 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. string1 = list(input())
  2. string2 = input()
  3. check = []
  5. for letter in string1:
  6.   if letter in string2:
  7.     check.append(True)
  8.   elif letter not in string2:
  9.     check.append(False)
  10. print(all(check))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand