fork download
  1. # your code goes here
  2. def punyaHuruf(kataPertama, kataKedua):
  3. list_pertama = [char for char in kataPertama]
  4.  
  5. for x in list_pertama:
  6. if x.lower() not in kataKedua.lower():
  7. return False
  8. return True
Success #stdin #stdout 0.02s 7208KB
stdin
Standard input is empty
stdout
Standard output is empty