Ashies

pythonlabP4

Aug 18th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. str1=["hello","new"];
  2. str1=[1,3,5,2,9,5]
  3. str2="hello";
  4. str3="A";
  5. str4="a";
  6. #print("%d"%cmp(str1,str2))
  7. #print("%d"%cmp(str3,str4))
  8. #print("%d"%cmp(str4,str3))
  9.  
  10. #sts1={1,2,3,4,5}
  11. #sts2={2,3,4,5,6}
  12. opssts=help(sts1)
  13. opslst=dir(str1)
  14. for j in opslst:
  15.      print(j)
  16. #print(help(sts1.intersection(sts2)))
Add Comment
Please, Sign In to add comment