a guest Jun 16th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def flames(l,l1):
  2.     for i in l:
  3.         if i in l1:
  4.             l.remove(str(i))
  5.             l1.remove(str(i))
  6. n1=input("Enter first name:")
  7. n2=input("Enter Second name:")
  8. l=list(n1)
  9. l1=list(n2)
  10. flames(l,l1)
  11. print(l)
  12. print(l1)
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