Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I was doing the Cisco Python Essentials training and I noticed an oddity with rstrip: print("cisco.com".rstrip("com")) produces "cisco." as would be expectedbut:print("cisco.com".rstrip(".com")) produces "cis" not "cisco" as I was expecting. Why is t...